﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="ProjectDataSet" targetNamespace="http://www.badhabit.com/XMLSchema/2008/ProjectDataSet.xsd" xmlns:mstns="http://www.badhabit.com/XMLSchema/2008/ProjectDataSet.xsd" xmlns="http://www.badhabit.com/XMLSchema/2008/ProjectDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DataSetFile="ProjectDataSet.Dataset.Designer.cs" DataSetProject="FactoryCore" DefaultConnectionIndex="3" FunctionsComponentName="QueriesTableAdapter" GeneratorFunctionsComponentClassName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="ExcludeSchema" UserFunctionsComponentName="QueriesTableAdapter" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="FactoryConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FactoryConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.BadHabit.Factory.Data.Properties.Settings.GlobalReference.Default.FactoryConnectionString" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="FactoryConnectionStringDEV" IsAppSettingsProperty="true" Modifier="Assembly" Name="FactoryConnectionStringDEV (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.BadHabit.Factory.Data.Properties.Settings.GlobalReference.Default.FactoryConnectionStringDEV" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="FactoryConnectionString2" IsAppSettingsProperty="true" Modifier="Assembly" Name="FactoryConnectionString2 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.BadHabit.Factory.Data.Properties.Settings.GlobalReference.Default.FactoryConnectionString2" Provider="System.Data.SqlClient" />
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="FactoryConnectionString1" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FactoryConnectionString1 (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.BadHabit.Factory.Data.Properties.Settings.GlobalReference.Default.FactoryConnectionString1" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectTableAdapter" GeneratorDataComponentClassName="ProjectTableAdapter" Name="Project" UserDataComponentName="ProjectTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="false" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[Project] WHERE (([ProjectUId] = @Original_ProjectUId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [factory].[Project] ([ProjectUId], [ProjectName], [ClientName], [Status], [Category], [Plataform], [Model], [CreateDate], [StartDate], [EndDate], [ApprovalDate], [EstimatedStartDate], [ProjectDocBase], [EstimatedEndDate], [PaymentProjectUId], [ProjectOwner], [Description], [HourBankMode], [Baseline], [AccessMode], [IsSuspended], [TotalSize]) VALUES (@ProjectUId, @ProjectName, @ClientName, @Status, @Category, @Plataform, @Model, @CreateDate, @StartDate, @EndDate, @ApprovalDate, @EstimatedStartDate, @ProjectDocBase, @EstimatedEndDate, @PaymentProjectUId, @ProjectOwner, @Description, @HourBankMode, @Baseline, @AccessMode, @IsSuspended, @TotalSize);
SELECT ProjectUId, ProjectName, ClientName, Status, Category, Plataform, Model, CreateDate, StartDate, EndDate, ApprovalDate, EstimatedStartDate, ProjectDocBase, ProjectNumber, EstimatedEndDate, PaymentProjectUId, ProjectOwner, Description, HourBankMode, Baseline, AccessMode, IsSuspended, TotalSize FROM factory.Project WHERE (ProjectUId = @ProjectUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ProjectName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ProjectName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ClientName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClientName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Category" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Plataform" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Plataform" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApprovalDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EstimatedStartDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="EstimatedStartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ProjectDocBase" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ProjectDocBase" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EstimatedEndDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="EstimatedEndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PaymentProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PaymentProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProjectOwner" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProjectOwner" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@HourBankMode" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="HourBankMode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Baseline" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Baseline" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@AccessMode" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="AccessMode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsSuspended" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsSuspended" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TotalSize" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TotalSize" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ProjectUId, ProjectName, ClientName, Status, Category, Plataform, Model, CreateDate, StartDate, EndDate, ApprovalDate, EstimatedStartDate, ProjectDocBase, ProjectNumber, EstimatedEndDate, PaymentProjectUId, ProjectOwner, Description, HourBankMode, Baseline, AccessMode, IsSuspended, TotalSize FROM factory.Project</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [factory].[Project] SET [ProjectUId] = @ProjectUId, [ProjectName] = @ProjectName, [ClientName] = @ClientName, [Status] = @Status, [Category] = @Category, [Plataform] = @Plataform, [Model] = @Model, [CreateDate] = @CreateDate, [StartDate] = @StartDate, [EndDate] = @EndDate, [ApprovalDate] = @ApprovalDate, [EstimatedStartDate] = @EstimatedStartDate, [ProjectDocBase] = @ProjectDocBase, [EstimatedEndDate] = @EstimatedEndDate, [PaymentProjectUId] = @PaymentProjectUId, [ProjectOwner] = @ProjectOwner, [Description] = @Description, [HourBankMode] = @HourBankMode, [Baseline] = @Baseline, [AccessMode] = @AccessMode, [IsSuspended] = @IsSuspended, [TotalSize] = @TotalSize WHERE (([ProjectUId] = @Original_ProjectUId));
SELECT ProjectUId, ProjectName, ClientName, Status, Category, Plataform, Model, CreateDate, StartDate, EndDate, ApprovalDate, EstimatedStartDate, ProjectDocBase, ProjectNumber, EstimatedEndDate, PaymentProjectUId, ProjectOwner, Description, HourBankMode, Baseline, AccessMode, IsSuspended, TotalSize FROM factory.Project WHERE (ProjectUId = @ProjectUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ProjectName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ProjectName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ClientName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ClientName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Category" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Category" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Plataform" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Plataform" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Model" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Model" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApprovalDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EstimatedStartDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="EstimatedStartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ProjectDocBase" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ProjectDocBase" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EstimatedEndDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="EstimatedEndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PaymentProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PaymentProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProjectOwner" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProjectOwner" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@HourBankMode" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="HourBankMode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Baseline" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Baseline" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@AccessMode" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="AccessMode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsSuspended" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsSuspended" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@TotalSize" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TotalSize" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
              <Mapping SourceColumn="ProjectName" DataSetColumn="ProjectName" />
              <Mapping SourceColumn="ClientName" DataSetColumn="ClientName" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="Category" DataSetColumn="Category" />
              <Mapping SourceColumn="Plataform" DataSetColumn="Plataform" />
              <Mapping SourceColumn="Model" DataSetColumn="Model" />
              <Mapping SourceColumn="CreateDate" DataSetColumn="CreateDate" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
              <Mapping SourceColumn="ApprovalDate" DataSetColumn="ApprovalDate" />
              <Mapping SourceColumn="EstimatedStartDate" DataSetColumn="EstimatedStartDate" />
              <Mapping SourceColumn="ProjectDocBase" DataSetColumn="ProjectDocBase" />
              <Mapping SourceColumn="ProjectNumber" DataSetColumn="ProjectNumber" />
              <Mapping SourceColumn="PaymentProjectUId" DataSetColumn="PaymentProjectUId" />
              <Mapping SourceColumn="ProjectOwner" DataSetColumn="ProjectOwner" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="HourBankMode" DataSetColumn="HourBankMode" />
              <Mapping SourceColumn="Baseline" DataSetColumn="Baseline" />
              <Mapping SourceColumn="AccessMode" DataSetColumn="AccessMode" />
              <Mapping SourceColumn="EstimatedEndDate" DataSetColumn="EstimatedEndDate" />
              <Mapping SourceColumn="IsSuspended" DataSetColumn="IsSuspended" />
              <Mapping SourceColumn="TotalSize" DataSetColumn="TotalSize" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProjectNumber" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectNumber" GeneratorSourceName="FillByProjectNumber" GetMethodModifier="Public" GetMethodName="GetDataByProjectNumber" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectNumber" UserSourceName="FillByProjectNumber">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AccessMode, ApprovalDate, Baseline, Category, ClientName, CreateDate, Description, EndDate, EstimatedEndDate, EstimatedStartDate, HourBankMode, IsSuspended, Model, PaymentProjectUId, Plataform, ProjectDocBase, ProjectName, ProjectNumber, ProjectOwner, ProjectUId, StartDate, Status, TotalSize FROM factory.Project WHERE (ProjectNumber = @ProjectNumber)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectNumber" ColumnName="ProjectNumber" DataSourceName="Factory.factory.Project" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProjectNumber" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProjectNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectUId" GeneratorSourceName="FillByProjectUId" GetMethodModifier="Public" GetMethodName="GetDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectUId" UserSourceName="FillByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AccessMode, ApprovalDate, Baseline, Category, ClientName, CreateDate, Description, EndDate, EstimatedEndDate, EstimatedStartDate, HourBankMode, IsSuspended, Model, PaymentProjectUId, Plataform, ProjectDocBase, ProjectName, ProjectNumber, ProjectOwner, ProjectUId, StartDate, Status, TotalSize FROM factory.Project WHERE (ProjectUId = @ProjectUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="Factory..Project" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByTeamMember" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByTeamMember" GeneratorSourceName="FillByTeamMember" GetMethodModifier="Public" GetMethodName="GetDataByTeamMember" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByTeamMember" UserSourceName="FillByTeamMember">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM factory.Project AS p WHERE (Status NOT IN (4, 8, 9, 10)) AND

( EXISTS (SELECT 1 AS Expr1 FROM factory.ProjectRole WHERE (p.ProjectUId = ProjectUId) AND (ContactId = @TeamMemberId))
OR ProjectOwner = @TeamMemberId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="TeamMemberId" ColumnName="ProjectOwner" DataSourceName="Factory.factory.Project" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@TeamMemberId" Precision="0" ProviderType="NVarChar" Scale="0" Size="100" SourceColumn="ProjectOwner" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillClosedProjects" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetClosedProjectsData" GeneratorSourceName="FillClosedProjects" GetMethodModifier="Public" GetMethodName="GetClosedProjectsData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetClosedProjectsData" UserSourceName="FillClosedProjects">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM factory.Project WHERE Status IN (4, 8, 9, 10) Or IsSuspended=1</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillInDebitProjects" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetInDebitProjectsData" GeneratorSourceName="FillInDebitProjects" GetMethodModifier="Public" GetMethodName="GetInDebitProjectsData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetInDebitProjectsData" UserSourceName="FillInDebitProjects">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM factory.Project AS p WHERE (Status IN (3, 5, 6, 7, 8)) AND ((SELECT SUM(ISNULL(Value, 0) - ISNULL(PayedValue, 0)) AS Expr1 FROM factory.ProjectPayment WHERE (ProjectUId = p.ProjectUId) AND (PlannedPayDate &lt; GETDATE())) &gt; 0)</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillOportunitiesProjects" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetOportunitiesProjectsData" GeneratorSourceName="FillOportunitiesProjects" GetMethodModifier="Public" GetMethodName="GetOportunitiesProjectsData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetOportunitiesProjectsData" UserSourceName="FillOportunitiesProjects">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM factory.Project WHERE (Status IN (1, 2) AND IsSuspended=0)</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillPayableProjects" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetPayableProjectsData" GeneratorSourceName="FillPayableProjects" GetMethodModifier="Public" GetMethodName="GetPayableProjectsData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetPayableProjectsData" UserSourceName="FillPayableProjects">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM factory.Project WHERE (Status IN (3, 5, 6, 7))</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillRunningProjects" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetRunningProjectsData" GeneratorSourceName="FillRunningProjects" GetMethodModifier="Public" GetMethodName="GetRunningProjectsData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetRunningProjectsData" UserSourceName="FillRunningProjects">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM factory.Project WHERE (Status IN (5, 6, 7) and IsSuspended=0)</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillScheduledProjects" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetScheduledProjectsData" GeneratorSourceName="FillScheduledProjects" GetMethodModifier="Public" GetMethodName="GetScheduledProjectsData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetScheduledProjectsData" UserSourceName="FillScheduledProjects">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM factory.Project WHERE Status=3 and IsSuspended=0</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillStillToPayProjects" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetStillToPayProjectsData" GeneratorSourceName="FillStillToPayProjects" GetMethodModifier="Public" GetMethodName="GetStillToPayProjectsData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetStillToPayProjectsData" UserSourceName="FillStillToPayProjects">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM factory.Project AS p WHERE ((SELECT SUM(ISNULL(Value, 0) - ISNULL(PayedValue, 0)) AS Expr1 FROM factory.ProjectPayment WHERE (ProjectUId = p.ProjectUId)) &gt; 0)</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Project" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillToDoProjects" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetToDoProjectsData" GeneratorSourceName="FillToDoProjects" GetMethodModifier="Public" GetMethodName="GetToDoProjectsData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetToDoProjectsData" UserSourceName="FillToDoProjects">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM factory.Project AS p WHERE EXISTS (SELECT TaskUId FROM factory.Task WHERE (ProjectUId = p.ProjectUId) AND (TaskAssignee = @UserId) AND IsSuspended=0 AND (Status NOT IN (4, 5)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="UserId" ColumnName="" DataSourceName="" DataTypeServer="nvarchar(100)" DbType="String" Direction="Input" ParameterName="@UserId" Precision="0" Scale="0" Size="100" SourceColumn="" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="ScalarMaxProjectNumber" Modifier="Public" Name="ScalarMaxProjectNumber" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="ScalarMaxProjectNumber">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT MAX(ProjectNumber) FROM factory.Project</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProposalTableAdapter" GeneratorDataComponentClassName="ProposalTableAdapter" Name="Proposal" UserDataComponentName="ProposalTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Proposal" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[Proposal] WHERE (([ProposalUId] = @Original_ProposalUId) AND ([ProposalNumber] = @Original_ProposalNumber) AND ([ProjectUId] = @Original_ProjectUId) AND ([Status] = @Original_Status) AND ([ProposalName] = @Original_ProposalName) AND ([CreateDate] = @Original_CreateDate) AND ((@IsNull_LastSendDate = 1 AND [LastSendDate] IS NULL) OR ([LastSendDate] = @Original_LastSendDate)) AND ((@IsNull_ApprovalDate = 1 AND [ApprovalDate] IS NULL) OR ([ApprovalDate] = @Original_ApprovalDate)) AND ([UseDiscount] = @Original_UseDiscount) AND ([TemplateName] = @Original_TemplateName) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ((@IsNull_Details = 1 AND [Details] IS NULL) OR ([Details] = @Original_Details)) AND ((@IsNull_RejectReason = 1 AND [RejectReason] IS NULL) OR ([RejectReason] = @Original_RejectReason)) AND ((@IsNull_MoneyRate = 1 AND [MoneyRate] IS NULL) OR ([MoneyRate] = @Original_MoneyRate)) AND ((@IsNull_MoneyShortName = 1 AND [MoneyShortName] IS NULL) OR ([MoneyShortName] = @Original_MoneyShortName)) AND ([SalePrice] = @Original_SalePrice) AND ([Discount] = @Original_Discount) AND ([ScopePrice] = @Original_ScopePrice) AND ([FixedCostPrice] = @Original_FixedCostPrice))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_ProposalNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ProposalNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProposalName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProposalName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastSendDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastSendDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastSendDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="LastSendDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ApprovalDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ApprovalDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_UseDiscount" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UseDiscount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TemplateName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TemplateName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Details" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Details" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RejectReason" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RejectReason" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_RejectReason" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="RejectReason" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MoneyRate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MoneyRate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_MoneyRate" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="MoneyRate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MoneyShortName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MoneyShortName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MoneyShortName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MoneyShortName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SalePrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="SalePrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ScopePrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="ScopePrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FixedCostPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="FixedCostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO factory.[Proposal] ([ProposalUId], [ProposalNumber], [ProjectUId], [Status], [ProposalName], [CreateDate], [LastSendDate], [ApprovalDate], [ScopePrice], [FixedCostPrice], [Discount], [SalePrice], [UseDiscount], [TemplateName], [StartDate], [EndDate], [Details], [RejectReason], [MoneyRate], [MoneyShortName]) VALUES (@ProposalUId, @ProposalNumber, @ProjectUId, @Status, @ProposalName, @CreateDate, @LastSendDate, @ApprovalDate, @ScopePrice, @FixedCostPrice, @Discount, @SalePrice, @UseDiscount, @TemplateName, @StartDate, @EndDate, @Details, @RejectReason, @MoneyRate, @MoneyShortName);
                      SELECT ProposalUId, ProposalNumber, ProjectUId, Status, ProposalName, CreateDate, LastSendDate, ApprovalDate, ScopePrice, FixedCostPrice, Discount, SalePrice, UseDiscount, TemplateName, StartDate, EndDate, Details, RejectReason, MoneyRate, MoneyShortName FROM factory.Proposal WHERE (ProposalUId = @ProposalUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ProposalNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ProposalNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProposalName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProposalName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastSendDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="LastSendDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApprovalDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ScopePrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="ScopePrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@FixedCostPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="FixedCostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SalePrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="SalePrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@UseDiscount" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UseDiscount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TemplateName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TemplateName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Details" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@RejectReason" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="RejectReason" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@MoneyRate" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="MoneyRate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MoneyShortName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MoneyShortName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT        ProposalUId, ProposalNumber, ProjectUId, Status, ProposalName, CreateDate, LastSendDate, ApprovalDate, UseDiscount, TemplateName, StartDate, 
                         EndDate, Details, RejectReason, MoneyRate, MoneyShortName, SalePrice, Discount, ScopePrice, FixedCostPrice
FROM            factory.Proposal</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE factory.[Proposal] SET [ProposalUId] = @ProposalUId, [ProposalNumber] = @ProposalNumber, [ProjectUId] = @ProjectUId, [Status] = @Status, [ProposalName] = @ProposalName, [CreateDate] = @CreateDate, [LastSendDate] = @LastSendDate, [ApprovalDate] = @ApprovalDate, [UseDiscount] = @UseDiscount, [TemplateName] = @TemplateName, [StartDate] = @StartDate, [EndDate] = @EndDate, [Details] = @Details, [RejectReason] = @RejectReason, [MoneyRate] = @MoneyRate, [MoneyShortName] = @MoneyShortName, [SalePrice] = @SalePrice, [Discount] = @Discount, [ScopePrice] = @ScopePrice, [FixedCostPrice] = @FixedCostPrice WHERE (([ProposalUId] = @Original_ProposalUId) AND ([ProposalNumber] = @Original_ProposalNumber) AND ([ProjectUId] = @Original_ProjectUId) AND ([Status] = @Original_Status) AND ([ProposalName] = @Original_ProposalName) AND ([CreateDate] = @Original_CreateDate) AND ((@IsNull_LastSendDate = 1 AND [LastSendDate] IS NULL) OR ([LastSendDate] = @Original_LastSendDate)) AND ((@IsNull_ApprovalDate = 1 AND [ApprovalDate] IS NULL) OR ([ApprovalDate] = @Original_ApprovalDate)) AND ([UseDiscount] = @Original_UseDiscount) AND ([TemplateName] = @Original_TemplateName) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ((@IsNull_Details = 1 AND [Details] IS NULL) OR ([Details] = @Original_Details)) AND ((@IsNull_RejectReason = 1 AND [RejectReason] IS NULL) OR ([RejectReason] = @Original_RejectReason)) AND ((@IsNull_MoneyRate = 1 AND [MoneyRate] IS NULL) OR ([MoneyRate] = @Original_MoneyRate)) AND ((@IsNull_MoneyShortName = 1 AND [MoneyShortName] IS NULL) OR ([MoneyShortName] = @Original_MoneyShortName)) AND ([SalePrice] = @Original_SalePrice) AND ([Discount] = @Original_Discount) AND ([ScopePrice] = @Original_ScopePrice) AND ([FixedCostPrice] = @Original_FixedCostPrice));
                      SELECT ProposalUId, ProposalNumber, ProjectUId, Status, ProposalName, CreateDate, LastSendDate, ApprovalDate, UseDiscount, TemplateName, StartDate, EndDate, Details, RejectReason, MoneyRate, MoneyShortName, SalePrice, Discount, ScopePrice, FixedCostPrice FROM factory.Proposal WHERE (ProposalUId = @ProposalUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ProposalNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ProposalNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ProposalName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProposalName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@LastSendDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="LastSendDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApprovalDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@UseDiscount" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UseDiscount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@TemplateName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TemplateName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Details" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@RejectReason" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="RejectReason" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@MoneyRate" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="MoneyRate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@MoneyShortName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MoneyShortName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@SalePrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="SalePrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Discount" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@ScopePrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="ScopePrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@FixedCostPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="FixedCostPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_ProposalNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ProposalNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ProposalName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ProposalName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastSendDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastSendDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_LastSendDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="LastSendDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ApprovalDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ApprovalDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_UseDiscount" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="UseDiscount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_TemplateName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="TemplateName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Details" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Details" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Details" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RejectReason" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RejectReason" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_RejectReason" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="RejectReason" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MoneyRate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MoneyRate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_MoneyRate" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="MoneyRate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MoneyShortName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MoneyShortName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_MoneyShortName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="MoneyShortName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_SalePrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="SalePrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_Discount" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="Discount" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_ScopePrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="ScopePrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Decimal" Direction="Input" ParameterName="@Original_FixedCostPrice" Precision="18" ProviderType="Decimal" Scale="0" Size="0" SourceColumn="FixedCostPrice" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProposalUId" DataSetColumn="ProposalUId" />
              <Mapping SourceColumn="ProposalNumber" DataSetColumn="ProposalNumber" />
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="ProposalName" DataSetColumn="ProposalName" />
              <Mapping SourceColumn="CreateDate" DataSetColumn="CreateDate" />
              <Mapping SourceColumn="LastSendDate" DataSetColumn="LastSendDate" />
              <Mapping SourceColumn="ApprovalDate" DataSetColumn="ApprovalDate" />
              <Mapping SourceColumn="UseDiscount" DataSetColumn="UseDiscount" />
              <Mapping SourceColumn="TemplateName" DataSetColumn="TemplateName" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
              <Mapping SourceColumn="Details" DataSetColumn="Details" />
              <Mapping SourceColumn="RejectReason" DataSetColumn="RejectReason" />
              <Mapping SourceColumn="MoneyRate" DataSetColumn="MoneyRate" />
              <Mapping SourceColumn="MoneyShortName" DataSetColumn="MoneyShortName" />
              <Mapping SourceColumn="SalePrice" DataSetColumn="SalePrice" />
              <Mapping SourceColumn="Discount" DataSetColumn="Discount" />
              <Mapping SourceColumn="ScopePrice" DataSetColumn="ScopePrice" />
              <Mapping SourceColumn="FixedCostPrice" DataSetColumn="FixedCostPrice" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Proposal" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectUId" GeneratorSourceName="FillByProjectUId" GetMethodModifier="Public" GetMethodName="GetDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectUId" UserSourceName="FillByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ApprovalDate, CreateDate, Details, Discount, EndDate, FixedCostPrice, LastSendDate, MoneyRate, MoneyShortName, ProjectUId, ProposalName, ProposalNumber, ProposalUId, RejectReason, SalePrice, ScopePrice, StartDate, Status, TemplateName, UseDiscount FROM factory.Proposal WHERE (ProjectUId = @ProjectUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="Factory.factory.Proposal" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectPaymentTableAdapter" GeneratorDataComponentClassName="ProjectPaymentTableAdapter" Name="ProjectPayment" UserDataComponentName="ProjectPaymentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProjectPayment" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[ProjectPayment] WHERE (([PaymentUId] = @Original_PaymentUId) AND ([ProjectUId] = @Original_ProjectUId) AND ([ProposalUId] = @Original_ProposalUId) AND ([Value] = @Original_Value) AND ((@IsNull_InVoiceDate = 1 AND [InVoiceDate] IS NULL) OR ([InVoiceDate] = @Original_InVoiceDate)) AND ([PlannedPayDate] = @Original_PlannedPayDate) AND ((@IsNull_PayedDate = 1 AND [PayedDate] IS NULL) OR ([PayedDate] = @Original_PayedDate)) AND ((@IsNull_PayedValue = 1 AND [PayedValue] IS NULL) OR ([PayedValue] = @Original_PayedValue)) AND ((@IsNull_InvoiceNumber = 1 AND [InvoiceNumber] IS NULL) OR ([InvoiceNumber] = @Original_InvoiceNumber)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PaymentUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PaymentUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Value" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Value" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_InVoiceDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InVoiceDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_InVoiceDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="InVoiceDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PlannedPayDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="PlannedPayDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PayedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PayedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PayedDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="PayedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PayedValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PayedValue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PayedValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PayedValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_InvoiceNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_InvoiceNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="InvoiceNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO [factory].[ProjectPayment] ([PaymentUId], [ProjectUId], [ProposalUId], [Value], [InVoiceDate], [PlannedPayDate], [PayedDate], [PayedValue], [InvoiceNumber]) VALUES (@PaymentUId, @ProjectUId, @ProposalUId, @Value, @InVoiceDate, @PlannedPayDate, @PayedDate, @PayedValue, @InvoiceNumber);
                      SELECT PaymentUId, ProjectUId, ProposalUId, Value, InVoiceDate, PlannedPayDate, PayedDate, PayedValue, InvoiceNumber FROM factory.ProjectPayment WHERE (PaymentUId = @PaymentUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PaymentUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PaymentUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Value" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Value" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InVoiceDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="InVoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PlannedPayDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="PlannedPayDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PayedDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="PayedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PayedValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PayedValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@InvoiceNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="InvoiceNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT PaymentUId, ProjectUId, ProposalUId, Value, InVoiceDate, PlannedPayDate, PayedDate, PayedValue, InvoiceNumber FROM factory.ProjectPayment</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE [factory].[ProjectPayment] SET [PaymentUId] = @PaymentUId, [ProjectUId] = @ProjectUId, [ProposalUId] = @ProposalUId, [Value] = @Value, [InVoiceDate] = @InVoiceDate, [PlannedPayDate] = @PlannedPayDate, [PayedDate] = @PayedDate, [PayedValue] = @PayedValue, [InvoiceNumber] = @InvoiceNumber WHERE (([PaymentUId] = @Original_PaymentUId) AND ([ProjectUId] = @Original_ProjectUId) AND ([ProposalUId] = @Original_ProposalUId) AND ([Value] = @Original_Value) AND ((@IsNull_InVoiceDate = 1 AND [InVoiceDate] IS NULL) OR ([InVoiceDate] = @Original_InVoiceDate)) AND ([PlannedPayDate] = @Original_PlannedPayDate) AND ((@IsNull_PayedDate = 1 AND [PayedDate] IS NULL) OR ([PayedDate] = @Original_PayedDate)) AND ((@IsNull_PayedValue = 1 AND [PayedValue] IS NULL) OR ([PayedValue] = @Original_PayedValue)) AND ((@IsNull_InvoiceNumber = 1 AND [InvoiceNumber] IS NULL) OR ([InvoiceNumber] = @Original_InvoiceNumber)));
                      SELECT PaymentUId, ProjectUId, ProposalUId, Value, InVoiceDate, PlannedPayDate, PayedDate, PayedValue, InvoiceNumber FROM factory.ProjectPayment WHERE (PaymentUId = @PaymentUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PaymentUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PaymentUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Value" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Value" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@InVoiceDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="InVoiceDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PlannedPayDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="PlannedPayDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@PayedDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="PayedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@PayedValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PayedValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@InvoiceNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="InvoiceNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PaymentUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PaymentUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Value" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Value" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_InVoiceDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InVoiceDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_InVoiceDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="InVoiceDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PlannedPayDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="PlannedPayDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PayedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PayedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_PayedDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="PayedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PayedValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PayedValue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_PayedValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="PayedValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_InvoiceNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="InvoiceNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_InvoiceNumber" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="InvoiceNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PaymentUId" DataSetColumn="PaymentUId" />
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
              <Mapping SourceColumn="ProposalUId" DataSetColumn="ProposalUId" />
              <Mapping SourceColumn="Value" DataSetColumn="Value" />
              <Mapping SourceColumn="InVoiceDate" DataSetColumn="InVoiceDate" />
              <Mapping SourceColumn="PlannedPayDate" DataSetColumn="PlannedPayDate" />
              <Mapping SourceColumn="PayedDate" DataSetColumn="PayedDate" />
              <Mapping SourceColumn="PayedValue" DataSetColumn="PayedValue" />
              <Mapping SourceColumn="InvoiceNumber" DataSetColumn="InvoiceNumber" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProjectPayment" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectUId" GeneratorSourceName="FillByProjectUId" GetMethodModifier="Public" GetMethodName="GetDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectUId" UserSourceName="FillByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT InVoiceDate, InvoiceNumber, PayedDate, PayedValue, PaymentUId, PlannedPayDate, ProjectUId, ProposalUId, Value FROM factory.ProjectPayment WHERE (ProjectUId = @ProjectUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="Factory.factory.ProjectPayment" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProposalFixedCostItemTableAdapter" GeneratorDataComponentClassName="ProposalFixedCostItemTableAdapter" Name="ProposalFixedCostItem" UserDataComponentName="ProposalFixedCostItemTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProposalFixedCostItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[ProposalFixedCostItem] WHERE (([FixedPriceItemUId] = @Original_FixedPriceItemUId) AND ([ProposalUId] = @Original_ProposalUId) AND ([ItemName] = @Original_ItemName) AND ([ItemValue] = @Original_ItemValue) AND ([Payable] = @Original_Payable))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_FixedPriceItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="FixedPriceItemUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ItemValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ItemValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Payable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Payable" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO [factory].[ProposalFixedCostItem] ([FixedPriceItemUId], [ProposalUId], [ItemName], [ItemValue], [Payable]) VALUES (@FixedPriceItemUId, @ProposalUId, @ItemName, @ItemValue, @Payable);
                      SELECT FixedPriceItemUId, ProposalUId, ItemName, ItemValue, Payable FROM factory.ProposalFixedCostItem WHERE (FixedPriceItemUId = @FixedPriceItemUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@FixedPriceItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="FixedPriceItemUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ItemValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ItemValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Payable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Payable" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT FixedPriceItemUId, ProposalUId, ItemName, ItemValue, Payable FROM factory.ProposalFixedCostItem</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE [factory].[ProposalFixedCostItem] SET [FixedPriceItemUId] = @FixedPriceItemUId, [ProposalUId] = @ProposalUId, [ItemName] = @ItemName, [ItemValue] = @ItemValue, [Payable] = @Payable WHERE (([FixedPriceItemUId] = @Original_FixedPriceItemUId) AND ([ProposalUId] = @Original_ProposalUId) AND ([ItemName] = @Original_ItemName) AND ([ItemValue] = @Original_ItemValue) AND ([Payable] = @Original_Payable));
                      SELECT FixedPriceItemUId, ProposalUId, ItemName, ItemValue, Payable FROM factory.ProposalFixedCostItem WHERE (FixedPriceItemUId = @FixedPriceItemUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@FixedPriceItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="FixedPriceItemUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@ItemValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ItemValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Payable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Payable" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_FixedPriceItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="FixedPriceItemUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ItemName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ItemName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_ItemValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="ItemValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Payable" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Payable" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="FixedPriceItemUId" DataSetColumn="FixedPriceItemUId" />
              <Mapping SourceColumn="ProposalUId" DataSetColumn="ProposalUId" />
              <Mapping SourceColumn="ItemName" DataSetColumn="ItemName" />
              <Mapping SourceColumn="ItemValue" DataSetColumn="ItemValue" />
              <Mapping SourceColumn="Payable" DataSetColumn="Payable" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProposalFixedCostItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProposalUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProposalUId" GeneratorSourceName="FillByProposalUId" GetMethodModifier="Public" GetMethodName="GetDataByProposalUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProposalUId" UserSourceName="FillByProposalUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT FixedPriceItemUId, ProposalUId, ItemName, ItemValue, Payable FROM factory.ProposalFixedCostItem
WHERE ProposalUID = @ProposalUId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProposalUId" ColumnName="ProposalUId" DataSourceName="Factory.factory.ProposalFixedCostItem" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProposalObservationTableAdapter" GeneratorDataComponentClassName="ProposalObservationTableAdapter" Name="ProposalObservation" UserDataComponentName="ProposalObservationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProposalObservation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[ProposalObservation] WHERE (([ProposalUId] = @Original_ProposalUId) AND ([ObservationName] = @Original_ObservationName) AND ((@IsNull_ObservationText = 1 AND [ObservationText] IS NULL) OR ([ObservationText] = @Original_ObservationText)) AND ([ProposalObservationUId] = @Original_ProposalObservationUId) AND ([Order] = @Original_Order))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ObservationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ObservationName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ObservationText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ObservationText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ObservationText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ObservationText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalObservationUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalObservationUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Order" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Order" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO [factory].[ProposalObservation] ([ProposalUId], [ObservationName], [ObservationText], [ProposalObservationUId], [Order]) VALUES (@ProposalUId, @ObservationName, @ObservationText, @ProposalObservationUId, @Order);
                      SELECT ProposalUId, ObservationName, ObservationText, ProposalObservationUId, [Order] FROM factory.ProposalObservation WHERE (ProposalObservationUId = @ProposalObservationUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ObservationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ObservationName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ObservationText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ObservationText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalObservationUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalObservationUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Order" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Order" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProposalUId, ObservationName, ObservationText, ProposalObservationUId, [Order] FROM factory.ProposalObservation</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE [factory].[ProposalObservation] SET [ProposalUId] = @ProposalUId, [ObservationName] = @ObservationName, [ObservationText] = @ObservationText, [ProposalObservationUId] = @ProposalObservationUId, [Order] = @Order WHERE (([ProposalUId] = @Original_ProposalUId) AND ([ObservationName] = @Original_ObservationName) AND ((@IsNull_ObservationText = 1 AND [ObservationText] IS NULL) OR ([ObservationText] = @Original_ObservationText)) AND ([ProposalObservationUId] = @Original_ProposalObservationUId) AND ([Order] = @Original_Order));
                      SELECT ProposalUId, ObservationName, ObservationText, ProposalObservationUId, [Order] FROM factory.ProposalObservation WHERE (ProposalObservationUId = @ProposalObservationUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ObservationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ObservationName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ObservationText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ObservationText" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalObservationUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalObservationUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Order" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Order" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ObservationName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ObservationName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ObservationText" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ObservationText" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ObservationText" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ObservationText" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalObservationUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalObservationUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Order" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Order" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProposalUId" DataSetColumn="ProposalUId" />
              <Mapping SourceColumn="ObservationName" DataSetColumn="ObservationName" />
              <Mapping SourceColumn="ObservationText" DataSetColumn="ObservationText" />
              <Mapping SourceColumn="ProposalObservationUId" DataSetColumn="ProposalObservationUId" />
              <Mapping SourceColumn="Order" DataSetColumn="Order" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProposalObservation" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProposalUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProposalUId" GeneratorSourceName="FillByProposalUId" GetMethodModifier="Public" GetMethodName="GetDataByProposalUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProposalUId" UserSourceName="FillByProposalUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ProposalUId, ObservationName, ObservationText, ProposalObservationUId, [Order] FROM factory.ProposalObservation
WHERE ProposalUId=@ProposalUId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProposalUId" ColumnName="ProposalUId" DataSourceName="Factory.factory.ProposalObservation" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BacklogItemTableAdapter" GeneratorDataComponentClassName="BacklogItemTableAdapter" Name="BacklogItem" UserDataComponentName="BacklogItemTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.BacklogItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[BacklogItem] WHERE (([BacklogItemUId] = @Original_BacklogItemUId) AND ([BacklogItemNumber] = @Original_BacklogItemNumber) AND ([ProjectUId] = @Original_ProjectUId) AND ([Title] = @Original_Title) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([Status] = @Original_Status) AND ((@IsNull_GroupName = 1 AND [GroupName] IS NULL) OR ([GroupName] = @Original_GroupName)) AND ((@IsNull_HourBankYear = 1 AND [HourBankYear] IS NULL) OR ([HourBankYear] = @Original_HourBankYear)) AND ((@IsNull_HourBankMonth = 1 AND [HourBankMonth] IS NULL) OR ([HourBankMonth] = @Original_HourBankMonth)) AND ((@IsNull_Size = 1 AND [Size] IS NULL) OR ([Size] = @Original_Size)) AND ((@IsNull_BusinessValue = 1 AND [BusinessValue] IS NULL) OR ([BusinessValue] = @Original_BusinessValue)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_FinishDate = 1 AND [FinishDate] IS NULL) OR ([FinishDate] = @Original_FinishDate)) AND ([CreateDate] = @Original_CreateDate) AND ((@IsNull_SizeItemType = 1 AND [SizeItemType] IS NULL) OR ([SizeItemType] = @Original_SizeItemType)) AND ((@IsNull_AcceptedDate = 1 AND [AcceptedDate] IS NULL) OR ([AcceptedDate] = @Original_AcceptedDate)) AND ((@IsNull_VerifiedDate = 1 AND [VerifiedDate] IS NULL) OR ([VerifiedDate] = @Original_VerifiedDate)) AND ((@IsNull_VerifiedBy = 1 AND [VerifiedBy] IS NULL) OR ([VerifiedBy] = @Original_VerifiedBy)) AND ((@IsNull_ValidatedDate = 1 AND [ValidatedDate] IS NULL) OR ([ValidatedDate] = @Original_ValidatedDate)) AND ((@IsNull_ValidatedBy = 1 AND [ValidatedBy] IS NULL) OR ([ValidatedBy] = @Original_ValidatedBy)) AND ([IsBugCorrection] = @Original_IsBugCorrection) AND ((@IsNull_CancelReason = 1 AND [CancelReason] IS NULL) OR ([CancelReason] = @Original_CancelReason)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_BacklogItemNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="BacklogItemNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_GroupName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_GroupName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_HourBankYear" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HourBankYear" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HourBankYear" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HourBankYear" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_HourBankMonth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HourBankMonth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_HourBankMonth" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="HourBankMonth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Size" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Size" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Size" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Size" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_BusinessValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BusinessValue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BusinessValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BusinessValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FinishDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FinishDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_FinishDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="FinishDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreateDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SizeItemType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SizeItemType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_SizeItemType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SizeItemType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AcceptedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AcceptedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_AcceptedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AcceptedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VerifiedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VerifiedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_VerifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="VerifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VerifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VerifiedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VerifiedBy" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VerifiedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ValidatedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ValidatedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ValidatedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ValidatedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ValidatedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ValidatedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ValidatedBy" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ValidatedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsBugCorrection" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsBugCorrection" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CancelReason" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CancelReason" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_CancelReason" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CancelReason" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO [factory].[BacklogItem] ([BacklogItemUId], [BacklogItemNumber], [ProjectUId], [Title], [Description], [Status], [GroupName], [HourBankYear], [HourBankMonth], [Size], [BusinessValue], [StartDate], [FinishDate], [CreateDate], [SizeItemType], [AcceptedDate], [VerifiedDate], [VerifiedBy], [ValidatedDate], [ValidatedBy], [IsBugCorrection], [CancelReason]) VALUES (@BacklogItemUId, @BacklogItemNumber, @ProjectUId, @Title, @Description, @Status, @GroupName, @HourBankYear, @HourBankMonth, @Size, @BusinessValue, @StartDate, @FinishDate, @CreateDate, @SizeItemType, @AcceptedDate, @VerifiedDate, @VerifiedBy, @ValidatedDate, @ValidatedBy, @IsBugCorrection, @CancelReason);
                      SELECT BacklogItemUId, BacklogItemNumber, ProjectUId, Title, Description, Status, GroupName, HourBankYear, HourBankMonth, Size, BusinessValue, StartDate, FinishDate, CreateDate, SizeItemType, AcceptedDate, VerifiedDate, VerifiedBy, ValidatedDate, ValidatedBy, IsBugCorrection, CancelReason FROM factory.BacklogItem WHERE (BacklogItemUId = @BacklogItemUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@BacklogItemNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="BacklogItemNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@GroupName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HourBankYear" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HourBankYear" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@HourBankMonth" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="HourBankMonth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Size" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Size" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BusinessValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BusinessValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@FinishDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="FinishDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@SizeItemType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SizeItemType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@AcceptedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AcceptedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@VerifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="VerifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VerifiedBy" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VerifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ValidatedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ValidatedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ValidatedBy" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ValidatedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsBugCorrection" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsBugCorrection" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@CancelReason" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CancelReason" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT * FROM factory.BacklogItem</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE [factory].[BacklogItem] SET [BacklogItemUId] = @BacklogItemUId, [BacklogItemNumber] = @BacklogItemNumber, [ProjectUId] = @ProjectUId, [Title] = @Title, [Description] = @Description, [Status] = @Status, [GroupName] = @GroupName, [HourBankYear] = @HourBankYear, [HourBankMonth] = @HourBankMonth, [Size] = @Size, [BusinessValue] = @BusinessValue, [StartDate] = @StartDate, [FinishDate] = @FinishDate, [CreateDate] = @CreateDate, [SizeItemType] = @SizeItemType, [AcceptedDate] = @AcceptedDate, [VerifiedDate] = @VerifiedDate, [VerifiedBy] = @VerifiedBy, [ValidatedDate] = @ValidatedDate, [ValidatedBy] = @ValidatedBy, [IsBugCorrection] = @IsBugCorrection, [CancelReason] = @CancelReason WHERE (([BacklogItemUId] = @Original_BacklogItemUId) AND ([BacklogItemNumber] = @Original_BacklogItemNumber) AND ([ProjectUId] = @Original_ProjectUId) AND ([Title] = @Original_Title) AND ((@IsNull_Description = 1 AND [Description] IS NULL) OR ([Description] = @Original_Description)) AND ([Status] = @Original_Status) AND ((@IsNull_GroupName = 1 AND [GroupName] IS NULL) OR ([GroupName] = @Original_GroupName)) AND ((@IsNull_HourBankYear = 1 AND [HourBankYear] IS NULL) OR ([HourBankYear] = @Original_HourBankYear)) AND ((@IsNull_HourBankMonth = 1 AND [HourBankMonth] IS NULL) OR ([HourBankMonth] = @Original_HourBankMonth)) AND ((@IsNull_Size = 1 AND [Size] IS NULL) OR ([Size] = @Original_Size)) AND ((@IsNull_BusinessValue = 1 AND [BusinessValue] IS NULL) OR ([BusinessValue] = @Original_BusinessValue)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_FinishDate = 1 AND [FinishDate] IS NULL) OR ([FinishDate] = @Original_FinishDate)) AND ([CreateDate] = @Original_CreateDate) AND ((@IsNull_SizeItemType = 1 AND [SizeItemType] IS NULL) OR ([SizeItemType] = @Original_SizeItemType)) AND ((@IsNull_AcceptedDate = 1 AND [AcceptedDate] IS NULL) OR ([AcceptedDate] = @Original_AcceptedDate)) AND ((@IsNull_VerifiedDate = 1 AND [VerifiedDate] IS NULL) OR ([VerifiedDate] = @Original_VerifiedDate)) AND ((@IsNull_VerifiedBy = 1 AND [VerifiedBy] IS NULL) OR ([VerifiedBy] = @Original_VerifiedBy)) AND ((@IsNull_ValidatedDate = 1 AND [ValidatedDate] IS NULL) OR ([ValidatedDate] = @Original_ValidatedDate)) AND ((@IsNull_ValidatedBy = 1 AND [ValidatedBy] IS NULL) OR ([ValidatedBy] = @Original_ValidatedBy)) AND ([IsBugCorrection] = @Original_IsBugCorrection) AND ((@IsNull_CancelReason = 1 AND [CancelReason] IS NULL) OR ([CancelReason] = @Original_CancelReason)));
                      SELECT BacklogItemUId, BacklogItemNumber, ProjectUId, Title, Description, Status, GroupName, HourBankYear, HourBankMonth, Size, BusinessValue, StartDate, FinishDate, CreateDate, SizeItemType, AcceptedDate, VerifiedDate, VerifiedBy, ValidatedDate, ValidatedBy, IsBugCorrection, CancelReason FROM factory.BacklogItem WHERE (BacklogItemUId = @BacklogItemUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@BacklogItemNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="BacklogItemNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@GroupName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@HourBankYear" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HourBankYear" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@HourBankMonth" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="HourBankMonth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Size" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Size" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BusinessValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BusinessValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@FinishDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="FinishDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@SizeItemType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SizeItemType" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@AcceptedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AcceptedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@VerifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="VerifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VerifiedBy" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VerifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ValidatedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ValidatedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ValidatedBy" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ValidatedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsBugCorrection" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsBugCorrection" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@CancelReason" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CancelReason" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_BacklogItemNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="BacklogItemNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Description" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Description" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Description" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_GroupName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_GroupName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_HourBankYear" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HourBankYear" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_HourBankYear" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HourBankYear" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_HourBankMonth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="HourBankMonth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_HourBankMonth" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="HourBankMonth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Size" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Size" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Size" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Size" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_BusinessValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BusinessValue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BusinessValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BusinessValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FinishDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FinishDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_FinishDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="FinishDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreateDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_SizeItemType" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SizeItemType" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_SizeItemType" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SizeItemType" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_AcceptedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AcceptedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_AcceptedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="AcceptedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VerifiedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VerifiedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_VerifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="VerifiedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_VerifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VerifiedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_VerifiedBy" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VerifiedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ValidatedDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ValidatedDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ValidatedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ValidatedDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ValidatedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ValidatedBy" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ValidatedBy" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ValidatedBy" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_IsBugCorrection" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsBugCorrection" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CancelReason" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CancelReason" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_CancelReason" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CancelReason" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BacklogItemUId" DataSetColumn="BacklogItemUId" />
              <Mapping SourceColumn="BacklogItemNumber" DataSetColumn="BacklogItemNumber" />
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
              <Mapping SourceColumn="Title" DataSetColumn="Title" />
              <Mapping SourceColumn="Description" DataSetColumn="Description" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="GroupName" DataSetColumn="GroupName" />
              <Mapping SourceColumn="HourBankYear" DataSetColumn="HourBankYear" />
              <Mapping SourceColumn="HourBankMonth" DataSetColumn="HourBankMonth" />
              <Mapping SourceColumn="Size" DataSetColumn="Size" />
              <Mapping SourceColumn="BusinessValue" DataSetColumn="BusinessValue" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="FinishDate" DataSetColumn="FinishDate" />
              <Mapping SourceColumn="CreateDate" DataSetColumn="CreateDate" />
              <Mapping SourceColumn="SizeItemType" DataSetColumn="SizeItemType" />
              <Mapping SourceColumn="AcceptedDate" DataSetColumn="AcceptedDate" />
              <Mapping SourceColumn="VerifiedDate" DataSetColumn="VerifiedDate" />
              <Mapping SourceColumn="VerifiedBy" DataSetColumn="VerifiedBy" />
              <Mapping SourceColumn="ValidadedDate" DataSetColumn="ValidatedDate" />
              <Mapping SourceColumn="ValidadedBy" DataSetColumn="ValidatedBy" />
              <Mapping SourceColumn="IsBugCorrection" DataSetColumn="IsBugCorrection" />
              <Mapping SourceColumn="ValidatedDate" DataSetColumn="ValidatedDate" />
              <Mapping SourceColumn="ValidatedBy" DataSetColumn="ValidatedBy" />
              <Mapping SourceColumn="CancelReason" DataSetColumn="CancelReason" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.BacklogItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectUId" GeneratorSourceName="FillByProjectUId" GetMethodModifier="Public" GetMethodName="GetDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectUId" UserSourceName="FillByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AcceptedDate, BacklogItemNumber, BacklogItemUId, BusinessValue, CancelReason, CreateDate, Description, FinishDate, GroupName, HourBankMonth, HourBankYear, IsBugCorrection, ProjectUId, Size, SizeItemType, StartDate, Status, Title, ValidatedBy, ValidatedDate, VerifiedBy, VerifiedDate FROM factory.BacklogItem WHERE (ProjectUId = @ProjectUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="Factory.factory.BacklogItem" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.BacklogItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillUsedBankByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetUsedBankDataByProjectUId" GeneratorSourceName="FillUsedBankByProjectUId" GetMethodModifier="Public" GetMethodName="GetUsedBankDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetUsedBankDataByProjectUId" UserSourceName="FillUsedBankByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT AcceptedDate, BacklogItemNumber, BacklogItemUId, BusinessValue, CancelReason, CreateDate, Description, FinishDate, GroupName, HourBankMonth, HourBankYear, IsBugCorrection, ProjectUId, Size, SizeItemType, StartDate, Status, Title, ValidatedBy, ValidatedDate, VerifiedBy, VerifiedDate FROM factory.BacklogItem WHERE (ProjectUId = @ProjectUId) AND (HourBankYear &lt; YEAR(GETDATE())) OR (ProjectUId = @ProjectUId) AND (HourBankYear = YEAR(GETDATE())) AND (HourBankMonth &lt;= MONTH(GETDATE()))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="Factory.factory.BacklogItem" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SprintTableAdapter" GeneratorDataComponentClassName="SprintTableAdapter" Name="Sprint" UserDataComponentName="SprintTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="FactoryDes.factory.Sprint" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[Sprint] WHERE (([SprintUId] = @Original_SprintUId) AND ([ProjectUId] = @Original_ProjectUId) AND ([SprintNumber] = @Original_SprintNumber) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ExpirationDate = 1 AND [ExpirationDate] IS NULL) OR ([ExpirationDate] = @Original_ExpirationDate)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Status] = @Original_Status)) AND ((@IsNull_ApprovalDate = 1 AND [ApprovalDate] IS NULL) OR ([ApprovalDate] = @Original_ApprovalDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_SprintNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SprintNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreateDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ExpirationDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ExpirationDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ExpirationDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ExpirationDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ApprovalDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ApprovalDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO [factory].[Sprint] ([SprintUId], [ProjectUId], [SprintNumber], [Title], [CreateDate], [ExpirationDate], [Status], [ApprovalDate]) VALUES (@SprintUId, @ProjectUId, @SprintNumber, @Title, @CreateDate, @ExpirationDate, @Status, @ApprovalDate);
                      SELECT SprintUId, ProjectUId, SprintNumber, Title, CreateDate, ExpirationDate, Status, ApprovalDate FROM factory.Sprint WHERE (SprintUId = @SprintUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@SprintNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SprintNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ExpirationDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ExpirationDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApprovalDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SprintUId, ProjectUId, SprintNumber, Title, CreateDate, ExpirationDate, Status, ApprovalDate FROM factory.Sprint</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE [factory].[Sprint] SET [SprintUId] = @SprintUId, [ProjectUId] = @ProjectUId, [SprintNumber] = @SprintNumber, [Title] = @Title, [CreateDate] = @CreateDate, [ExpirationDate] = @ExpirationDate, [Status] = @Status, [ApprovalDate] = @ApprovalDate WHERE (([SprintUId] = @Original_SprintUId) AND ([ProjectUId] = @Original_ProjectUId) AND ([SprintNumber] = @Original_SprintNumber) AND ((@IsNull_Title = 1 AND [Title] IS NULL) OR ([Title] = @Original_Title)) AND ((@IsNull_CreateDate = 1 AND [CreateDate] IS NULL) OR ([CreateDate] = @Original_CreateDate)) AND ((@IsNull_ExpirationDate = 1 AND [ExpirationDate] IS NULL) OR ([ExpirationDate] = @Original_ExpirationDate)) AND ((@IsNull_Status = 1 AND [Status] IS NULL) OR ([Status] = @Original_Status)) AND ((@IsNull_ApprovalDate = 1 AND [ApprovalDate] IS NULL) OR ([ApprovalDate] = @Original_ApprovalDate)));
                      SELECT SprintUId, ProjectUId, SprintNumber, Title, CreateDate, ExpirationDate, Status, ApprovalDate FROM factory.Sprint WHERE (SprintUId = @SprintUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@SprintNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SprintNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ExpirationDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ExpirationDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ApprovalDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_SprintNumber" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SprintNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Title" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Title" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CreateDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ExpirationDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ExpirationDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ExpirationDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ExpirationDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Status" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Status" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ApprovalDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_ApprovalDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="ApprovalDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SprintUId" DataSetColumn="SprintUId" />
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
              <Mapping SourceColumn="SprintNumber" DataSetColumn="SprintNumber" />
              <Mapping SourceColumn="Title" DataSetColumn="Title" />
              <Mapping SourceColumn="CreateDate" DataSetColumn="CreateDate" />
              <Mapping SourceColumn="ExpirationDate" DataSetColumn="ExpirationDate" />
              <Mapping SourceColumn="Status" DataSetColumn="Status" />
              <Mapping SourceColumn="ApprovalDate" DataSetColumn="ApprovalDate" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="FactoryDes.factory.Sprint" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectUId" GeneratorSourceName="FillByProjectUId" GetMethodModifier="Public" GetMethodName="GetDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectUId" UserSourceName="FillByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT SprintUId, ProjectUId, SprintNumber, Title, CreateDate, ExpirationDate, Status, ApprovalDate FROM factory.Sprint where ProjectUId = @ProjectUId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="Factory.factory.Sprint" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BacklogItemUnitTableAdapter" GeneratorDataComponentClassName="BacklogItemUnitTableAdapter" Name="BacklogItemUnit" UserDataComponentName="BacklogItemUnitTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.BacklogItemUnit" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM factory.[BacklogItemUnit] WHERE (([UnitName] = @Original_UnitName) AND ((@IsNull_UnitCostValue = 1 AND [UnitCostValue] IS NULL) OR ([UnitCostValue] = @Original_UnitCostValue)) AND ((@IsNull_UnitSaleValue = 1 AND [UnitSaleValue] IS NULL) OR ([UnitSaleValue] = @Original_UnitSaleValue)) AND ((@IsNull_UnitDescription = 1 AND [UnitDescription] IS NULL) OR ([UnitDescription] = @Original_UnitDescription)) AND ([ProjectUId] = @Original_ProjectUId) AND ([Required] = @Original_Required) AND ([Type] = @Original_Type))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UnitCostValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UnitCostValue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_UnitCostValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="UnitCostValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UnitSaleValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UnitSaleValue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_UnitSaleValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="UnitSaleValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UnitDescription" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UnitDescription" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UnitDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitDescription" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Required" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Required" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO factory.[BacklogItemUnit] ([UnitName], [UnitCostValue], [UnitSaleValue], [UnitDescription], [ProjectUId], [Required], [Type]) VALUES (@UnitName, @UnitCostValue, @UnitSaleValue, @UnitDescription, @ProjectUId, @Required, @Type);
                      SELECT UnitName, UnitCostValue, UnitSaleValue, UnitDescription, ProjectUId, Required, Type FROM factory.BacklogItemUnit WHERE (ProjectUId = @ProjectUId) AND (UnitName = @UnitName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@UnitCostValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="UnitCostValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@UnitSaleValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="UnitSaleValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UnitDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Required" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Required" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT UnitName, UnitCostValue, UnitSaleValue, UnitDescription, ProjectUId, Required, Type FROM factory.BacklogItemUnit</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE factory.[BacklogItemUnit] SET [UnitName] = @UnitName, [UnitCostValue] = @UnitCostValue, [UnitSaleValue] = @UnitSaleValue, [UnitDescription] = @UnitDescription, [ProjectUId] = @ProjectUId, [Required] = @Required, [Type] = @Type WHERE (([UnitName] = @Original_UnitName) AND ((@IsNull_UnitCostValue = 1 AND [UnitCostValue] IS NULL) OR ([UnitCostValue] = @Original_UnitCostValue)) AND ((@IsNull_UnitSaleValue = 1 AND [UnitSaleValue] IS NULL) OR ([UnitSaleValue] = @Original_UnitSaleValue)) AND ((@IsNull_UnitDescription = 1 AND [UnitDescription] IS NULL) OR ([UnitDescription] = @Original_UnitDescription)) AND ([ProjectUId] = @Original_ProjectUId) AND ([Required] = @Original_Required) AND ([Type] = @Original_Type));
                      SELECT UnitName, UnitCostValue, UnitSaleValue, UnitDescription, ProjectUId, Required, Type FROM factory.BacklogItemUnit WHERE (ProjectUId = @ProjectUId) AND (UnitName = @UnitName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@UnitCostValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="UnitCostValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@UnitSaleValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="UnitSaleValue" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UnitDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitDescription" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Required" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Required" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UnitCostValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UnitCostValue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_UnitCostValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="UnitCostValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UnitSaleValue" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UnitSaleValue" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_UnitSaleValue" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="UnitSaleValue" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UnitDescription" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UnitDescription" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UnitDescription" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitDescription" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_Required" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="Required" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="UnitName" DataSetColumn="UnitName" />
              <Mapping SourceColumn="UnitCostValue" DataSetColumn="UnitCostValue" />
              <Mapping SourceColumn="UnitSaleValue" DataSetColumn="UnitSaleValue" />
              <Mapping SourceColumn="UnitDescription" DataSetColumn="UnitDescription" />
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
              <Mapping SourceColumn="Required" DataSetColumn="Required" />
              <Mapping SourceColumn="Type" DataSetColumn="Type" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.BacklogItemUnit" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectUId" GeneratorSourceName="FillByProjectUId" GetMethodModifier="Public" GetMethodName="GetDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectUId" UserSourceName="FillByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT UnitName, UnitCostValue, UnitSaleValue, UnitDescription, ProjectUId, Required, Type FROM factory.BacklogItemUnit WHERE (ProjectUId = @ProjectUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="Factory.factory.BacklogItemUnit" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.BacklogItemUnit" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillDistinct" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDistinctData" GeneratorSourceName="FillDistinct" GetMethodModifier="Public" GetMethodName="GetDistinctData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDistinctData" UserSourceName="FillDistinct">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>
                      SELECT DISTINCT UnitName, 0.0, 0.0, UnitDescription, '', 0, 0
                      FROM factory.BacklogItemUnit
                    </CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BacklogItemHoursTableAdapter" GeneratorDataComponentClassName="BacklogItemHoursTableAdapter" Name="BacklogItemHours" UserDataComponentName="BacklogItemHoursTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="FactoryDes.factory.BacklogItemHours" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[BacklogItemHours] WHERE (([BacklogItemHoursUId] = @Original_BacklogItemHoursUId) AND ([BacklogItemUId] = @Original_BacklogItemUId) AND ([ProjectUId] = @Original_ProjectUId) AND ([UnitName] = @Original_UnitName) AND ([Quantity] = @Original_Quantity) AND ([SprintUId] = @Original_SprintUId) AND ([BaseLine] = @Original_BaseLine))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_BacklogItemHoursUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemHoursUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Quantity" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BaseLine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BaseLine" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO [factory].[BacklogItemHours] ([BacklogItemHoursUId], [BacklogItemUId], [ProjectUId], [UnitName], [Quantity], [SprintUId], [BaseLine]) VALUES (@BacklogItemHoursUId, @BacklogItemUId, @ProjectUId, @UnitName, @Quantity, @SprintUId, @BaseLine);
                      SELECT BacklogItemHoursUId, BacklogItemUId, ProjectUId, UnitName, Quantity, SprintUId, BaseLine FROM factory.BacklogItemHours WHERE (BacklogItemHoursUId = @BacklogItemHoursUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@BacklogItemHoursUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemHoursUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Quantity" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BaseLine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BaseLine" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT BacklogItemHoursUId, BacklogItemUId, ProjectUId, UnitName, Quantity, SprintUId, BaseLine FROM factory.BacklogItemHours</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE [factory].[BacklogItemHours] SET [BacklogItemHoursUId] = @BacklogItemHoursUId, [BacklogItemUId] = @BacklogItemUId, [ProjectUId] = @ProjectUId, [UnitName] = @UnitName, [Quantity] = @Quantity, [SprintUId] = @SprintUId, [BaseLine] = @BaseLine WHERE (([BacklogItemHoursUId] = @Original_BacklogItemHoursUId) AND ([BacklogItemUId] = @Original_BacklogItemUId) AND ([ProjectUId] = @Original_ProjectUId) AND ([UnitName] = @Original_UnitName) AND ([Quantity] = @Original_Quantity) AND ([SprintUId] = @Original_SprintUId) AND ([BaseLine] = @Original_BaseLine));
                      SELECT BacklogItemHoursUId, BacklogItemUId, ProjectUId, UnitName, Quantity, SprintUId, BaseLine FROM factory.BacklogItemHours WHERE (BacklogItemHoursUId = @BacklogItemHoursUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@BacklogItemHoursUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemHoursUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Quantity" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BaseLine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BaseLine" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_BacklogItemHoursUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemHoursUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Double" Direction="Input" ParameterName="@Original_Quantity" Precision="0" ProviderType="Float" Scale="0" Size="0" SourceColumn="Quantity" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BaseLine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BaseLine" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BacklogItemQuantityUId" DataSetColumn="BacklogItemHoursUId" />
              <Mapping SourceColumn="BacklogItemUId" DataSetColumn="BacklogItemUId" />
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
              <Mapping SourceColumn="UnitName" DataSetColumn="UnitName" />
              <Mapping SourceColumn="Quantity" DataSetColumn="Quantity" />
              <Mapping SourceColumn="SprintUId" DataSetColumn="SprintUId" />
              <Mapping SourceColumn="BaseLine" DataSetColumn="BaseLine" />
              <Mapping SourceColumn="BacklogItemHoursUId" DataSetColumn="BacklogItemHoursUId" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="FactoryDes.factory.BacklogItemHours" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectUId" GeneratorSourceName="FillByProjectUId" GetMethodModifier="Public" GetMethodName="GetDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectUId" UserSourceName="FillByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT BacklogItemHoursUId, BacklogItemUId, BaseLine, ProjectUId, Quantity, SprintUId, UnitName FROM factory.BacklogItemHours WHERE (ProjectUId = @ProjectUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="Factory.factory.BacklogItemHours" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="FactoryDes.factory.BacklogItemHoursVisible" DbObjectType="View" FillMethodModifier="Public" FillMethodName="FillVisibleByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetVisibleDataByProjectUId" GeneratorSourceName="FillVisibleByProjectUId" GetMethodModifier="Public" GetMethodName="GetVisibleDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetVisibleDataByProjectUId" UserSourceName="FillVisibleByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT BacklogItemHoursUId, BacklogItemUId, ProjectUId, UnitName, Quantity, SprintUId, BaseLine FROM factory.BacklogItemHoursVisible where ProjectUId = @ProjectUId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="FactoryDes.factory.BacklogItemHoursVisible" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProjectRoleTableAdapter" GeneratorDataComponentClassName="ProjectRoleTableAdapter" Name="ProjectRole" UserDataComponentName="ProjectRoleTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProjectRole" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[ProjectRole] WHERE (([ProjectRoleUId] = @Original_ProjectRoleUId) AND ([UnitName] = @Original_UnitName) AND ([ContactId] = @Original_ContactId) AND ((@IsNull_ContactEmail = 1 AND [ContactEmail] IS NULL) OR ([ContactEmail] = @Original_ContactEmail)) AND ((@IsNull_ContactName = 1 AND [ContactName] IS NULL) OR ([ContactName] = @Original_ContactName)) AND ([ProjectUId] = @Original_ProjectUId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectRoleUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectRoleUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ContactEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO [factory].[ProjectRole] ([ProjectRoleUId], [UnitName], [ContactId], [ContactEmail], [ContactName], [ProjectUId]) VALUES (@ProjectRoleUId, @UnitName, @ContactId, @ContactEmail, @ContactName, @ProjectUId);
                      SELECT ProjectRoleUId, UnitName, ContactId, ContactEmail, ContactName, ProjectUId FROM factory.ProjectRole WHERE (ProjectRoleUId = @ProjectRoleUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectRoleUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectRoleUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ContactEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProjectRoleUId, UnitName, ContactId, ContactEmail, ContactName, ProjectUId FROM factory.ProjectRole</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE [factory].[ProjectRole] SET [ProjectRoleUId] = @ProjectRoleUId, [UnitName] = @UnitName, [ContactId] = @ContactId, [ContactEmail] = @ContactEmail, [ContactName] = @ContactName, [ProjectUId] = @ProjectUId WHERE (([ProjectRoleUId] = @Original_ProjectRoleUId) AND ([UnitName] = @Original_UnitName) AND ([ContactId] = @Original_ContactId) AND ((@IsNull_ContactEmail = 1 AND [ContactEmail] IS NULL) OR ([ContactEmail] = @Original_ContactEmail)) AND ((@IsNull_ContactName = 1 AND [ContactName] IS NULL) OR ([ContactName] = @Original_ContactName)) AND ([ProjectUId] = @Original_ProjectUId));
                      SELECT ProjectRoleUId, UnitName, ContactId, ContactEmail, ContactName, ProjectUId FROM factory.ProjectRole WHERE (ProjectRoleUId = @ProjectRoleUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectRoleUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectRoleUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ContactEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@ContactName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectRoleUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectRoleUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_UnitName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="UnitName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactEmail" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_ContactEmail" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="ContactEmail" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ContactName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_ContactName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="ContactName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProjectRoleUId" DataSetColumn="ProjectRoleUId" />
              <Mapping SourceColumn="UnitName" DataSetColumn="UnitName" />
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="ContactEmail" DataSetColumn="ContactEmail" />
              <Mapping SourceColumn="ContactName" DataSetColumn="ContactName" />
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProjectRole" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectUId" GeneratorSourceName="FillByProjectUId" GetMethodModifier="Public" GetMethodName="GetDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectUId" UserSourceName="FillByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ProjectRoleUId, UnitName, ContactId, ContactEmail, ContactName, ProjectUId FROM factory.ProjectRole WHERE ProjectUId = @ProjectUId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="Factory.factory.ProjectRole" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProposalItemTableAdapter" GeneratorDataComponentClassName="ProposalItemTableAdapter" Name="ProposalItem" UserDataComponentName="ProposalItemTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProposalItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[ProposalItem] WHERE (([ProposalUId] = @Original_ProposalUId) AND ([BacklogItemUId] = @Original_BacklogItemUId) AND ([SprintUId] = @Original_SprintUId) AND ([BaseLine] = @Original_BaseLine))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BaseLine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BaseLine" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO [factory].[ProposalItem] ([ProposalUId], [BacklogItemUId], [SprintUId], [BaseLine]) VALUES (@ProposalUId, @BacklogItemUId, @SprintUId, @BaseLine);
                      SELECT ProposalUId, BacklogItemUId, SprintUId, BaseLine FROM factory.ProposalItem WHERE (BacklogItemUId = @BacklogItemUId) AND (BaseLine = @BaseLine) AND (ProposalUId = @ProposalUId) AND (SprintUId = @SprintUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BaseLine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BaseLine" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProposalUId, BacklogItemUId, SprintUId, BaseLine FROM factory.ProposalItem</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE [factory].[ProposalItem] SET [ProposalUId] = @ProposalUId, [BacklogItemUId] = @BacklogItemUId, [SprintUId] = @SprintUId, [BaseLine] = @BaseLine WHERE (([ProposalUId] = @Original_ProposalUId) AND ([BacklogItemUId] = @Original_BacklogItemUId) AND ([SprintUId] = @Original_SprintUId) AND ([BaseLine] = @Original_BaseLine));
                      SELECT ProposalUId, BacklogItemUId, SprintUId, BaseLine FROM factory.ProposalItem WHERE (BacklogItemUId = @BacklogItemUId) AND (BaseLine = @BaseLine) AND (ProposalUId = @ProposalUId) AND (SprintUId = @SprintUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@BaseLine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BaseLine" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_BacklogItemUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="BacklogItemUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_SprintUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="SprintUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BaseLine" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BaseLine" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProposalUId" DataSetColumn="ProposalUId" />
              <Mapping SourceColumn="BacklogItemUId" DataSetColumn="BacklogItemUId" />
              <Mapping SourceColumn="SprintUId" DataSetColumn="SprintUId" />
              <Mapping SourceColumn="BaseLine" DataSetColumn="BaseLine" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProposalItem" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProposalUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProposalUId" GeneratorSourceName="FillByProposalUId" GetMethodModifier="Public" GetMethodName="GetDataByProposalUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProposalUId" UserSourceName="FillByProposalUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ProposalUId, BacklogItemUId, SprintUId, BaseLine FROM factory.ProposalItem WHERE ProposalUId=@ProposalUId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProposalUId" ColumnName="ProposalUId" DataSourceName="Factory.factory.ProposalItem" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SprintCodeVersionTableAdapter" GeneratorDataComponentClassName="SprintCodeVersionTableAdapter" Name="SprintCodeVersion" UserDataComponentName="SprintCodeVersionTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.SprintCodeVersion" DbObjectType="View" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="false" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProjectUId, SprintUId, SprintNumber, CodeVersion FROM factory.SprintCodeVersion</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
              <Mapping SourceColumn="SprintUId" DataSetColumn="SprintUId" />
              <Mapping SourceColumn="SprintNumber" DataSetColumn="SprintNumber" />
              <Mapping SourceColumn="CodeVersion" DataSetColumn="CodeVersion" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.SprintCodeVersion" DbObjectType="View" FillMethodModifier="Public" FillMethodName="FillByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectUId" GeneratorSourceName="FillByProjectUId" GetMethodModifier="Public" GetMethodName="GetDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectUId" UserSourceName="FillByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ProjectUId, SprintUId, SprintNumber, CodeVersion FROM factory.SprintCodeVersion WHERE ProjectUId = @ProjectUId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProjectUId" ColumnName="ProjectUId" DataSourceName="Factory.factory.SprintCodeVersion" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="RiskTableAdapter" GeneratorDataComponentClassName="RiskTableAdapter" Name="Risk" UserDataComponentName="RiskTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Risk" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[Risk] WHERE (([RiskUId] = @Original_RiskUId) AND ([ProjectUId] = @Original_ProjectUId) AND ([RiskName] = @Original_RiskName) AND ([Impact] = @Original_Impact) AND ([Probability] = @Original_Probability) AND ([PreviousBaselineProbability] = @Original_PreviousBaselineProbability) AND ((@IsNull_Actions = 1 AND [Actions] IS NULL) OR ([Actions] = @Original_Actions)) AND ([CreateDate] = @Original_CreateDate))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_RiskUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="RiskUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RiskName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RiskName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Impact" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Impact" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Probability" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Probability" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_PreviousBaselineProbability" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PreviousBaselineProbability" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Actions" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Actions" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Actions" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Actions" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      INSERT INTO [factory].[Risk] ([RiskUId], [ProjectUId], [RiskName], [Impact], [Probability], [PreviousBaselineProbability], [Actions], [CreateDate]) VALUES (@RiskUId, @ProjectUId, @RiskName, @Impact, @Probability, @PreviousBaselineProbability, @Actions, @CreateDate);
                      SELECT RiskUId, ProjectUId, RiskName, Impact, Probability, PreviousBaselineProbability, Actions, CreateDate FROM factory.Risk WHERE (RiskUId = @RiskUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@RiskUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="RiskUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RiskName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RiskName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Impact" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Impact" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Probability" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Probability" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PreviousBaselineProbability" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PreviousBaselineProbability" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Actions" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Actions" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT RiskUId, ProjectUId, RiskName, Impact, Probability, PreviousBaselineProbability, Actions, CreateDate FROM factory.Risk</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>
                      UPDATE [factory].[Risk] SET [RiskUId] = @RiskUId, [ProjectUId] = @ProjectUId, [RiskName] = @RiskName, [Impact] = @Impact, [Probability] = @Probability, [PreviousBaselineProbability] = @PreviousBaselineProbability, [Actions] = @Actions, [CreateDate] = @CreateDate WHERE (([RiskUId] = @Original_RiskUId) AND ([ProjectUId] = @Original_ProjectUId) AND ([RiskName] = @Original_RiskName) AND ([Impact] = @Original_Impact) AND ([Probability] = @Original_Probability) AND ([PreviousBaselineProbability] = @Original_PreviousBaselineProbability) AND ((@IsNull_Actions = 1 AND [Actions] IS NULL) OR ([Actions] = @Original_Actions)) AND ([CreateDate] = @Original_CreateDate));
                      SELECT RiskUId, ProjectUId, RiskName, Impact, Probability, PreviousBaselineProbability, Actions, CreateDate FROM factory.Risk WHERE (RiskUId = @RiskUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@RiskUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="RiskUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@RiskName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RiskName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Impact" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Impact" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Probability" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Probability" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@PreviousBaselineProbability" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PreviousBaselineProbability" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Actions" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Actions" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_RiskUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="RiskUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_RiskName" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="RiskName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Impact" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Impact" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Probability" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Probability" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_PreviousBaselineProbability" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="PreviousBaselineProbability" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Actions" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Actions" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="String" Direction="Input" ParameterName="@Original_Actions" Precision="0" ProviderType="NVarChar" Scale="0" Size="0" SourceColumn="Actions" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_CreateDate" Precision="0" ProviderType="SmallDateTime" Scale="0" Size="0" SourceColumn="CreateDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="RiskUId" DataSetColumn="RiskUId" />
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
              <Mapping SourceColumn="RiskName" DataSetColumn="RiskName" />
              <Mapping SourceColumn="Impact" DataSetColumn="Impact" />
              <Mapping SourceColumn="Probability" DataSetColumn="Probability" />
              <Mapping SourceColumn="PreviousBaselineProbability" DataSetColumn="PreviousBaselineProbability" />
              <Mapping SourceColumn="Actions" DataSetColumn="Actions" />
              <Mapping SourceColumn="CreateDate" DataSetColumn="CreateDate" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.Risk" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProjectUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProjectUId" GeneratorSourceName="FillByProjectUId" GetMethodModifier="Public" GetMethodName="GetDataByProjectUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProjectUId" UserSourceName="FillByProjectUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT Actions, CreateDate, Impact, PreviousBaselineProbability, Probability, ProjectUId, RiskName, RiskUId FROM factory.Risk WHERE (ProjectUId = @projectUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="projectUId" ColumnName="ProjectUId" DataSourceName="Factory.factory.Risk" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@projectUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProposalApprovedTableAdapter" GeneratorDataComponentClassName="ProposalApprovedTableAdapter" Name="ProposalApproved" UserDataComponentName="ProposalApprovedTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProposalApproved" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [factory].[ProposalApproved] WHERE (([ProposalUId] = @Original_ProposalUId) AND ([ProjectUId] = @Original_ProjectUId))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [factory].[ProposalApproved] ([ProposalUId], [ProjectUId], [ProposalXAML]) VALUES (@ProposalUId, @ProjectUId, @ProposalXAML);
SELECT ProposalUId, ProjectUId, ProposalXAML FROM factory.ProposalApproved WHERE (ProposalUId = @ProposalUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ProposalXAML" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="ProposalXAML" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProposalUId, ProjectUId, ProposalXAML FROM factory.ProposalApproved</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [factory].[ProposalApproved] SET [ProposalUId] = @ProposalUId, [ProjectUId] = @ProjectUId, [ProposalXAML] = @ProposalXAML WHERE (([ProposalUId] = @Original_ProposalUId) AND ([ProjectUId] = @Original_ProjectUId));
SELECT ProposalUId, ProjectUId, ProposalXAML FROM factory.ProposalApproved WHERE (ProposalUId = @ProposalUId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@ProposalXAML" Precision="0" ProviderType="Text" Scale="0" Size="0" SourceColumn="ProposalXAML" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_ProjectUId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="ProjectUId" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProposalUId" DataSetColumn="ProposalUId" />
              <Mapping SourceColumn="ProjectUId" DataSetColumn="ProjectUId" />
              <Mapping SourceColumn="ProposalXAML" DataSetColumn="ProposalXAML" />
            </Mappings>
            <Sources>
              <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectName="Factory.factory.ProposalApproved" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="FillByProposalUId" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetDataByProposalUId" GeneratorSourceName="FillByProposalUId" GetMethodModifier="Public" GetMethodName="GetDataByProposalUId" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataByProposalUId" UserSourceName="FillByProposalUId">
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="true">
                    <CommandText>SELECT ProposalUId, ProjectUId, ProposalXAML FROM factory.ProposalApproved WHERE ProposalUId = @ProposalUId</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="ProposalUId" ColumnName="ProposalUId" DataSourceName="Factory.factory.ProposalApproved" DataTypeServer="char(38)" DbType="AnsiString" Direction="Input" ParameterName="@ProposalUId" Precision="0" ProviderType="Char" Scale="0" Size="38" SourceColumn="ProposalUId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </SelectCommand>
              </DbSource>
            </Sources>
          </TableAdapter>
        </Tables>
        <Sources>
          <DbSource ConnectionRef="FactoryConnectionString (Settings)" DbObjectType="Unknown" GenerateShortCommands="true" GeneratorSourceName="ScalarFactoryTeamVelocity" MethodsParameterType="CLR" Modifier="Public" Name="ScalarFactoryTeamVelocity" QueryType="Scalar" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetDataBy" UserSourceName="ScalarFactoryTeamVelocity">
            <SelectCommand>
              <DbCommand CommandType="Text" ModifiedByUser="true">
                <CommandText>select avg(v.Velocity) from factory.ProjectIndicatorVelocity v
inner join factory.Project p on p.ProjectUid = v.ProjectUId
and		Month(isNull(p.endDate, GETDATE() )) = Month(GETDATE()) 
and		Year(isNull(p.endDate, GETDATE() )) = Year(GETDATE())  
</CommandText>
                <Parameters />
              </DbCommand>
            </SelectCommand>
          </DbSource>
        </Sources>
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="ProjectDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="ProjectDataSet" msprop:Generator_DataSetName="ProjectDataSet">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Project" msprop:Generator_UserTableName="Project" msprop:Generator_RowDeletedName="ProjectRowDeleted" msprop:Generator_RowChangedName="ProjectRowChanged" msprop:Generator_RowClassName="ProjectRow" msprop:Generator_RowChangingName="ProjectRowChanging" msprop:Generator_RowEvArgName="ProjectRowChangeEvent" msprop:Generator_RowEvHandlerName="ProjectRowChangeEventHandler" msprop:Generator_TableClassName="ProjectDataTable" msprop:Generator_TableVarName="tableProject" msprop:Generator_RowDeletingName="ProjectRowDeleting" msprop:Generator_TablePropName="Project">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="38" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ProjectName" msprop:Generator_UserColumnName="ProjectName" msprop:Generator_ColumnVarNameInTable="columnProjectName" msprop:Generator_ColumnPropNameInRow="ProjectName" msprop:Generator_ColumnPropNameInTable="ProjectNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="200" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ClientName" msprop:Generator_UserColumnName="ClientName" msprop:Generator_ColumnVarNameInTable="columnClientName" msprop:Generator_ColumnPropNameInRow="ClientName" msprop:Generator_ColumnPropNameInTable="ClientNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:short" />
              <xs:element name="Category" msprop:Generator_UserColumnName="Category" msprop:Generator_ColumnVarNameInTable="columnCategory" msprop:Generator_ColumnPropNameInRow="Category" msprop:Generator_ColumnPropNameInTable="CategoryColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Plataform" msprop:Generator_UserColumnName="Plataform" msprop:Generator_ColumnVarNameInTable="columnPlataform" msprop:Generator_ColumnPropNameInRow="Plataform" msprop:Generator_ColumnPropNameInTable="PlataformColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Model" msprop:Generator_UserColumnName="Model" msprop:Generator_ColumnVarNameInTable="columnModel" msprop:Generator_ColumnPropNameInRow="Model" msprop:Generator_ColumnPropNameInTable="ModelColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CreateDate" msprop:Generator_UserColumnName="CreateDate" msprop:Generator_ColumnVarNameInTable="columnCreateDate" msprop:Generator_ColumnPropNameInRow="CreateDate" msprop:Generator_ColumnPropNameInTable="CreateDateColumn" type="xs:dateTime" />
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ApprovalDate" msprop:Generator_UserColumnName="ApprovalDate" msprop:Generator_ColumnVarNameInTable="columnApprovalDate" msprop:Generator_ColumnPropNameInRow="ApprovalDate" msprop:Generator_ColumnPropNameInTable="ApprovalDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EstimatedStartDate" msprop:Generator_UserColumnName="EstimatedStartDate" msprop:Generator_ColumnVarNameInTable="columnEstimatedStartDate" msprop:Generator_ColumnPropNameInRow="EstimatedStartDate" msprop:Generator_ColumnPropNameInTable="EstimatedStartDateColumn" type="xs:dateTime" />
              <xs:element name="ProjectDocBase" msprop:Generator_UserColumnName="ProjectDocBase" msprop:Generator_ColumnPropNameInRow="ProjectDocBase" msprop:Generator_ColumnVarNameInTable="columnProjectDocBase" msprop:Generator_ColumnPropNameInTable="ProjectDocBaseColumn" type="xs:string" minOccurs="0" />
              <xs:element name="ProjectNumber" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ProjectNumber" msprop:Generator_ColumnPropNameInRow="ProjectNumber" msprop:Generator_ColumnVarNameInTable="columnProjectNumber" msprop:Generator_ColumnPropNameInTable="ProjectNumberColumn" type="xs:int" />
              <xs:element name="PaymentProjectUId" msprop:Generator_UserColumnName="PaymentProjectUId" msprop:Generator_ColumnPropNameInRow="PaymentProjectUId" msprop:Generator_ColumnVarNameInTable="columnPaymentProjectUId" msprop:Generator_ColumnPropNameInTable="PaymentProjectUIdColumn" type="xs:string" minOccurs="0" />
              <xs:element name="ProjectOwner" msprop:Generator_UserColumnName="ProjectOwner" msprop:Generator_ColumnVarNameInTable="columnProjectOwner" msprop:Generator_ColumnPropNameInRow="ProjectOwner" msprop:Generator_ColumnPropNameInTable="ProjectOwnerColumn" type="xs:string" />
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInTable="DescriptionColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="HourBankMode" msprop:Generator_UserColumnName="HourBankMode" msprop:Generator_ColumnPropNameInRow="HourBankMode" msprop:Generator_ColumnVarNameInTable="columnHourBankMode" msprop:Generator_ColumnPropNameInTable="HourBankModeColumn" type="xs:short" />
              <xs:element name="Baseline" msprop:Generator_UserColumnName="Baseline" msprop:Generator_ColumnPropNameInRow="Baseline" msprop:Generator_ColumnVarNameInTable="columnBaseline" msprop:Generator_ColumnPropNameInTable="BaselineColumn" type="xs:int" />
              <xs:element name="AccessMode" msprop:Generator_UserColumnName="AccessMode" msprop:Generator_ColumnVarNameInTable="columnAccessMode" msprop:Generator_ColumnPropNameInRow="AccessMode" msprop:Generator_ColumnPropNameInTable="AccessModeColumn" type="xs:short" />
              <xs:element name="EstimatedEndDate" msprop:Generator_UserColumnName="EstimatedEndDate" msprop:Generator_ColumnPropNameInRow="EstimatedEndDate" msprop:Generator_ColumnVarNameInTable="columnEstimatedEndDate" msprop:Generator_ColumnPropNameInTable="EstimatedEndDateColumn" type="xs:dateTime" />
              <xs:element name="IsSuspended" msprop:Generator_UserColumnName="IsSuspended" msprop:Generator_ColumnPropNameInRow="IsSuspended" msprop:Generator_ColumnVarNameInTable="columnIsSuspended" msprop:Generator_ColumnPropNameInTable="IsSuspendedColumn" type="xs:boolean" />
              <xs:element name="TotalSize" msprop:Generator_UserColumnName="TotalSize" msprop:Generator_ColumnVarNameInTable="columnTotalSize" msprop:Generator_ColumnPropNameInRow="TotalSize" msprop:Generator_ColumnPropNameInTable="TotalSizeColumn" type="xs:long" minOccurs="0" />
              <xs:element name="Risk" msprop:Generator_UserTableName="Risk" msprop:Generator_RowDeletedName="RiskRowDeleted" msprop:Generator_RowChangedName="RiskRowChanged" msprop:Generator_RowClassName="RiskRow" msprop:Generator_RowChangingName="RiskRowChanging" msprop:Generator_RowEvArgName="RiskRowChangeEvent" msprop:Generator_RowEvHandlerName="RiskRowChangeEventHandler" msprop:Generator_TableClassName="RiskDataTable" msprop:Generator_TableVarName="tableRisk" msprop:Generator_RowDeletingName="RiskRowDeleting" msprop:Generator_TablePropName="Risk" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:appinfo>
                    <msdata:Relationship name="Project_Risk" msdata:parent="Project" msdata:child="Risk" msdata:parentkey="ProjectUId" msdata:childkey="ProjectUId" msprop:Generator_UserRelationName="Project_Risk" msprop:Generator_RelationVarName="relationProject_Risk" msprop:Generator_UserChildTable="Risk" msprop:Generator_UserParentTable="Project" msprop:Generator_ParentPropName="ProjectRow" msprop:Generator_ChildPropName="GetRiskRows" />
                  </xs:appinfo>
                </xs:annotation>
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="RiskUId" msprop:Generator_UserColumnName="RiskUId" msprop:Generator_ColumnPropNameInRow="RiskUId" msprop:Generator_ColumnVarNameInTable="columnRiskUId" msprop:Generator_ColumnPropNameInTable="RiskUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="RiskName" msprop:Generator_UserColumnName="RiskName" msprop:Generator_ColumnPropNameInRow="RiskName" msprop:Generator_ColumnVarNameInTable="columnRiskName" msprop:Generator_ColumnPropNameInTable="RiskNameColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="255" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="Impact" msprop:Generator_UserColumnName="Impact" msprop:Generator_ColumnPropNameInRow="Impact" msprop:Generator_ColumnVarNameInTable="columnImpact" msprop:Generator_ColumnPropNameInTable="ImpactColumn" type="xs:short" />
                    <xs:element name="Probability" msprop:Generator_UserColumnName="Probability" msprop:Generator_ColumnPropNameInRow="Probability" msprop:Generator_ColumnVarNameInTable="columnProbability" msprop:Generator_ColumnPropNameInTable="ProbabilityColumn" type="xs:short" />
                    <xs:element name="PreviousBaselineProbability" msprop:Generator_UserColumnName="PreviousBaselineProbability" msprop:Generator_ColumnPropNameInRow="PreviousBaselineProbability" msprop:Generator_ColumnVarNameInTable="columnPreviousBaselineProbability" msprop:Generator_ColumnPropNameInTable="PreviousBaselineProbabilityColumn" type="xs:short" />
                    <xs:element name="Actions" msprop:Generator_UserColumnName="Actions" msprop:Generator_ColumnPropNameInRow="Actions" msprop:Generator_ColumnVarNameInTable="columnActions" msprop:Generator_ColumnPropNameInTable="ActionsColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="500" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="CreateDate" msdata:ReadOnly="true" msprop:Generator_UserColumnName="CreateDate" msprop:Generator_ColumnVarNameInTable="columnCreateDate" msprop:Generator_ColumnPropNameInRow="CreateDate" msprop:Generator_ColumnPropNameInTable="CreateDateColumn" type="xs:dateTime" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="Sprint" msprop:Generator_UserTableName="Sprint" msprop:Generator_RowDeletedName="SprintRowDeleted" msprop:Generator_RowChangedName="SprintRowChanged" msprop:Generator_RowClassName="SprintRow" msprop:Generator_RowChangingName="SprintRowChanging" msprop:Generator_RowEvArgName="SprintRowChangeEvent" msprop:Generator_RowEvHandlerName="SprintRowChangeEventHandler" msprop:Generator_TableClassName="SprintDataTable" msprop:Generator_TableVarName="tableSprint" msprop:Generator_RowDeletingName="SprintRowDeleting" msprop:Generator_TablePropName="Sprint" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="SprintUId" msprop:Generator_UserColumnName="SprintUId" msprop:Generator_ColumnPropNameInRow="SprintUId" msprop:Generator_ColumnVarNameInTable="columnSprintUId" msprop:Generator_ColumnPropNameInTable="SprintUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="SprintNumber" msprop:Generator_UserColumnName="SprintNumber" msprop:Generator_ColumnPropNameInRow="SprintNumber" msprop:Generator_ColumnVarNameInTable="columnSprintNumber" msprop:Generator_ColumnPropNameInTable="SprintNumberColumn" type="xs:short" />
                    <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="255" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="CreateDate" msprop:Generator_UserColumnName="CreateDate" msprop:Generator_ColumnPropNameInRow="CreateDate" msprop:Generator_ColumnVarNameInTable="columnCreateDate" msprop:Generator_ColumnPropNameInTable="CreateDateColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="ExpirationDate" msprop:Generator_UserColumnName="ExpirationDate" msprop:Generator_ColumnPropNameInRow="ExpirationDate" msprop:Generator_ColumnVarNameInTable="columnExpirationDate" msprop:Generator_ColumnPropNameInTable="ExpirationDateColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="ApprovalDate" msprop:Generator_UserColumnName="ApprovalDate" msprop:Generator_ColumnPropNameInRow="ApprovalDate" msprop:Generator_ColumnVarNameInTable="columnApprovalDate" msprop:Generator_ColumnPropNameInTable="ApprovalDateColumn" type="xs:dateTime" minOccurs="0" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="BacklogItem" msprop:Generator_UserTableName="BacklogItem" msprop:Generator_RowDeletedName="BacklogItemRowDeleted" msprop:Generator_RowChangedName="BacklogItemRowChanged" msprop:Generator_RowClassName="BacklogItemRow" msprop:Generator_RowChangingName="BacklogItemRowChanging" msprop:Generator_RowEvArgName="BacklogItemRowChangeEvent" msprop:Generator_RowEvHandlerName="BacklogItemRowChangeEventHandler" msprop:Generator_TableClassName="BacklogItemDataTable" msprop:Generator_TableVarName="tableBacklogItem" msprop:Generator_RowDeletingName="BacklogItemRowDeleting" msprop:Generator_TablePropName="BacklogItem" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="BacklogItemUId" msprop:Generator_UserColumnName="BacklogItemUId" msprop:Generator_ColumnPropNameInRow="BacklogItemUId" msprop:Generator_ColumnVarNameInTable="columnBacklogItemUId" msprop:Generator_ColumnPropNameInTable="BacklogItemUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="BacklogItemNumber" msprop:Generator_UserColumnName="BacklogItemNumber" msprop:Generator_ColumnPropNameInRow="BacklogItemNumber" msprop:Generator_ColumnVarNameInTable="columnBacklogItemNumber" msprop:Generator_ColumnPropNameInTable="BacklogItemNumberColumn" type="xs:short" />
                    <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="150" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInTable="DescriptionColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="500" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:int" />
                    <xs:element name="GroupName" msprop:Generator_UserColumnName="GroupName" msprop:Generator_ColumnPropNameInRow="GroupName" msprop:Generator_ColumnVarNameInTable="columnGroupName" msprop:Generator_ColumnPropNameInTable="GroupNameColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="50" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="HourBankYear" msprop:Generator_UserColumnName="HourBankYear" msprop:Generator_ColumnPropNameInRow="HourBankYear" msprop:Generator_ColumnVarNameInTable="columnHourBankYear" msprop:Generator_ColumnPropNameInTable="HourBankYearColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="HourBankMonth" msprop:Generator_UserColumnName="HourBankMonth" msprop:Generator_ColumnPropNameInRow="HourBankMonth" msprop:Generator_ColumnVarNameInTable="columnHourBankMonth" msprop:Generator_ColumnPropNameInTable="HourBankMonthColumn" type="xs:short" minOccurs="0" />
                    <xs:element name="Size" msprop:Generator_UserColumnName="Size" msprop:Generator_ColumnPropNameInRow="Size" msprop:Generator_ColumnVarNameInTable="columnSize" msprop:Generator_ColumnPropNameInTable="SizeColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="BusinessValue" msprop:Generator_UserColumnName="BusinessValue" msprop:Generator_ColumnPropNameInRow="BusinessValue" msprop:Generator_ColumnVarNameInTable="columnBusinessValue" msprop:Generator_ColumnPropNameInTable="BusinessValueColumn" type="xs:int" minOccurs="0" />
                    <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="FinishDate" msprop:Generator_UserColumnName="FinishDate" msprop:Generator_ColumnPropNameInRow="FinishDate" msprop:Generator_ColumnVarNameInTable="columnFinishDate" msprop:Generator_ColumnPropNameInTable="FinishDateColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="CreateDate" msprop:Generator_UserColumnName="CreateDate" msprop:Generator_ColumnPropNameInRow="CreateDate" msprop:Generator_ColumnVarNameInTable="columnCreateDate" msprop:Generator_ColumnPropNameInTable="CreateDateColumn" type="xs:dateTime" />
                    <xs:element name="SizeItemType" msprop:Generator_UserColumnName="SizeItemType" msprop:Generator_ColumnVarNameInTable="columnSizeItemType" msprop:Generator_ColumnPropNameInRow="SizeItemType" msprop:Generator_ColumnPropNameInTable="SizeItemTypeColumn" type="xs:short" minOccurs="0" />
                    <xs:element name="AcceptedDate" msprop:Generator_UserColumnName="AcceptedDate" msprop:Generator_ColumnVarNameInTable="columnAcceptedDate" msprop:Generator_ColumnPropNameInRow="AcceptedDate" msprop:Generator_ColumnPropNameInTable="AcceptedDateColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="VerifiedDate" msprop:Generator_UserColumnName="VerifiedDate" msprop:Generator_ColumnVarNameInTable="columnVerifiedDate" msprop:Generator_ColumnPropNameInRow="VerifiedDate" msprop:Generator_ColumnPropNameInTable="VerifiedDateColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="VerifiedBy" msprop:Generator_UserColumnName="VerifiedBy" msprop:Generator_ColumnVarNameInTable="columnVerifiedBy" msprop:Generator_ColumnPropNameInRow="VerifiedBy" msprop:Generator_ColumnPropNameInTable="VerifiedByColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="255" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ValidatedDate" msprop:Generator_UserColumnName="ValidatedDate" msprop:Generator_ColumnVarNameInTable="columnValidatedDate" msprop:Generator_ColumnPropNameInRow="ValidatedDate" msprop:Generator_ColumnPropNameInTable="ValidatedDateColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="ValidatedBy" msprop:Generator_UserColumnName="ValidatedBy" msprop:Generator_ColumnVarNameInTable="columnValidatedBy" msprop:Generator_ColumnPropNameInRow="ValidatedBy" msprop:Generator_ColumnPropNameInTable="ValidatedByColumn" type="xs:string" minOccurs="0" />
                    <xs:element name="IsBugCorrection" msprop:Generator_UserColumnName="IsBugCorrection" msprop:Generator_ColumnVarNameInTable="columnIsBugCorrection" msprop:Generator_ColumnPropNameInRow="IsBugCorrection" msprop:Generator_ColumnPropNameInTable="IsBugCorrectionColumn" type="xs:boolean" />
                    <xs:element name="CancelReason" msprop:Generator_UserColumnName="CancelReason" msprop:Generator_ColumnPropNameInRow="CancelReason" msprop:Generator_ColumnVarNameInTable="columnCancelReason" msprop:Generator_ColumnPropNameInTable="CancelReasonColumn" type="xs:short" minOccurs="0" />
                    <xs:element name="BacklogItemHours" msprop:Generator_UserTableName="BacklogItemHours" msprop:Generator_RowDeletedName="BacklogItemHoursRowDeleted" msprop:Generator_RowChangedName="BacklogItemHoursRowChanged" msprop:Generator_RowClassName="BacklogItemHoursRow" msprop:Generator_RowChangingName="BacklogItemHoursRowChanging" msprop:Generator_RowEvArgName="BacklogItemHoursRowChangeEvent" msprop:Generator_RowEvHandlerName="BacklogItemHoursRowChangeEventHandler" msprop:Generator_TableClassName="BacklogItemHoursDataTable" msprop:Generator_TableVarName="tableBacklogItemHours" msprop:Generator_RowDeletingName="BacklogItemHoursRowDeleting" msprop:Generator_TablePropName="BacklogItemHours" minOccurs="0" maxOccurs="unbounded">
                      <xs:complexType>
                        <xs:sequence>
                          <xs:element name="BacklogItemHoursUId" msprop:Generator_UserColumnName="BacklogItemHoursUId" msprop:Generator_ColumnPropNameInRow="BacklogItemHoursUId" msprop:Generator_ColumnVarNameInTable="columnBacklogItemHoursUId" msprop:Generator_ColumnPropNameInTable="BacklogItemHoursUIdColumn">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="38" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="BacklogItemUId" msprop:Generator_UserColumnName="BacklogItemUId" msprop:Generator_ColumnPropNameInRow="BacklogItemUId" msprop:Generator_ColumnVarNameInTable="columnBacklogItemUId" msprop:Generator_ColumnPropNameInTable="BacklogItemUIdColumn">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="38" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="38" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="UnitName" msprop:Generator_UserColumnName="UnitName" msprop:Generator_ColumnPropNameInRow="UnitName" msprop:Generator_ColumnVarNameInTable="columnUnitName" msprop:Generator_ColumnPropNameInTable="UnitNameColumn">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="50" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="Quantity" msprop:Generator_UserColumnName="Quantity" msprop:Generator_ColumnPropNameInRow="Quantity" msprop:Generator_ColumnVarNameInTable="columnQuantity" msprop:Generator_ColumnPropNameInTable="QuantityColumn" type="xs:double" />
                          <xs:element name="SprintUId" msprop:Generator_UserColumnName="SprintUId" msprop:Generator_ColumnPropNameInRow="SprintUId" msprop:Generator_ColumnVarNameInTable="columnSprintUId" msprop:Generator_ColumnPropNameInTable="SprintUIdColumn">
                            <xs:simpleType>
                              <xs:restriction base="xs:string">
                                <xs:maxLength value="38" />
                              </xs:restriction>
                            </xs:simpleType>
                          </xs:element>
                          <xs:element name="BaseLine" msprop:Generator_UserColumnName="BaseLine" msprop:Generator_ColumnPropNameInRow="BaseLine" msprop:Generator_ColumnVarNameInTable="columnBaseLine" msprop:Generator_ColumnPropNameInTable="BaseLineColumn" type="xs:int" />
                        </xs:sequence>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="BacklogItemUnit" msprop:Generator_UserTableName="BacklogItemUnit" msprop:Generator_RowDeletedName="BacklogItemUnitRowDeleted" msprop:Generator_RowChangedName="BacklogItemUnitRowChanged" msprop:Generator_RowClassName="BacklogItemUnitRow" msprop:Generator_RowChangingName="BacklogItemUnitRowChanging" msprop:Generator_RowEvArgName="BacklogItemUnitRowChangeEvent" msprop:Generator_RowEvHandlerName="BacklogItemUnitRowChangeEventHandler" msprop:Generator_TableClassName="BacklogItemUnitDataTable" msprop:Generator_TableVarName="tableBacklogItemUnit" msprop:Generator_RowDeletingName="BacklogItemUnitRowDeleting" msprop:Generator_TablePropName="BacklogItemUnit" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="UnitName" msprop:Generator_UserColumnName="UnitName" msprop:Generator_ColumnPropNameInRow="UnitName" msprop:Generator_ColumnVarNameInTable="columnUnitName" msprop:Generator_ColumnPropNameInTable="UnitNameColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="50" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="UnitCostValue" msprop:Generator_UserColumnName="UnitCostValue" msprop:Generator_ColumnPropNameInRow="UnitCostValue" msprop:Generator_ColumnVarNameInTable="columnUnitCostValue" msprop:Generator_ColumnPropNameInTable="UnitCostValueColumn" type="xs:decimal" minOccurs="0" />
                    <xs:element name="UnitSaleValue" msprop:Generator_UserColumnName="UnitSaleValue" msprop:Generator_ColumnPropNameInRow="UnitSaleValue" msprop:Generator_ColumnVarNameInTable="columnUnitSaleValue" msprop:Generator_ColumnPropNameInTable="UnitSaleValueColumn" type="xs:decimal" minOccurs="0" />
                    <xs:element name="UnitDescription" msprop:Generator_UserColumnName="UnitDescription" msprop:Generator_ColumnPropNameInRow="UnitDescription" msprop:Generator_ColumnVarNameInTable="columnUnitDescription" msprop:Generator_ColumnPropNameInTable="UnitDescriptionColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="50" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="Required" msprop:Generator_UserColumnName="Required" msprop:Generator_ColumnVarNameInTable="columnRequired" msprop:Generator_ColumnPropNameInRow="Required" msprop:Generator_ColumnPropNameInTable="RequiredColumn" type="xs:boolean" default="false" />
                    <xs:element name="Type" msprop:Generator_UserColumnName="Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnPropNameInTable="TypeColumn" type="xs:short" default="0" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="ProjectRole" msprop:Generator_UserTableName="ProjectRole" msprop:Generator_RowDeletedName="ProjectRoleRowDeleted" msprop:Generator_RowChangedName="ProjectRoleRowChanged" msprop:Generator_RowClassName="ProjectRoleRow" msprop:Generator_RowChangingName="ProjectRoleRowChanging" msprop:Generator_RowEvArgName="ProjectRoleRowChangeEvent" msprop:Generator_RowEvHandlerName="ProjectRoleRowChangeEventHandler" msprop:Generator_TableClassName="ProjectRoleDataTable" msprop:Generator_TableVarName="tableProjectRole" msprop:Generator_RowDeletingName="ProjectRoleRowDeleting" msprop:Generator_TablePropName="ProjectRole" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="ProjectRoleUId" msprop:Generator_UserColumnName="ProjectRoleUId" msprop:Generator_ColumnVarNameInTable="columnProjectRoleUId" msprop:Generator_ColumnPropNameInRow="ProjectRoleUId" msprop:Generator_ColumnPropNameInTable="ProjectRoleUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="UnitName" msprop:Generator_UserColumnName="UnitName" msprop:Generator_ColumnVarNameInTable="columnUnitName" msprop:Generator_ColumnPropNameInRow="UnitName" msprop:Generator_ColumnPropNameInTable="UnitNameColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="50" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="255" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ContactEmail" msprop:Generator_UserColumnName="ContactEmail" msprop:Generator_ColumnVarNameInTable="columnContactEmail" msprop:Generator_ColumnPropNameInRow="ContactEmail" msprop:Generator_ColumnPropNameInTable="ContactEmailColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="100" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ContactName" msprop:Generator_UserColumnName="ContactName" msprop:Generator_ColumnVarNameInTable="columnContactName" msprop:Generator_ColumnPropNameInRow="ContactName" msprop:Generator_ColumnPropNameInTable="ContactNameColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="100" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Proposal" msprop:Generator_UserTableName="Proposal" msprop:Generator_RowDeletedName="ProposalRowDeleted" msprop:Generator_RowChangedName="ProposalRowChanged" msprop:Generator_RowClassName="ProposalRow" msprop:Generator_RowChangingName="ProposalRowChanging" msprop:Generator_RowEvArgName="ProposalRowChangeEvent" msprop:Generator_RowEvHandlerName="ProposalRowChangeEventHandler" msprop:Generator_TableClassName="ProposalDataTable" msprop:Generator_TableVarName="tableProposal" msprop:Generator_RowDeletingName="ProposalRowDeleting" msprop:Generator_TablePropName="Proposal">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProposalUId" msprop:Generator_UserColumnName="ProposalUId" msprop:Generator_ColumnVarNameInTable="columnProposalUId" msprop:Generator_ColumnPropNameInRow="ProposalUId" msprop:Generator_ColumnPropNameInTable="ProposalUIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="38" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ProposalNumber" msprop:Generator_UserColumnName="ProposalNumber" msprop:Generator_ColumnVarNameInTable="columnProposalNumber" msprop:Generator_ColumnPropNameInRow="ProposalNumber" msprop:Generator_ColumnPropNameInTable="ProposalNumberColumn" type="xs:short" />
              <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="38" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Status" msprop:Generator_UserColumnName="Status" msprop:Generator_ColumnVarNameInTable="columnStatus" msprop:Generator_ColumnPropNameInRow="Status" msprop:Generator_ColumnPropNameInTable="StatusColumn" type="xs:short" />
              <xs:element name="ProposalName" msprop:Generator_UserColumnName="ProposalName" msprop:Generator_ColumnVarNameInTable="columnProposalName" msprop:Generator_ColumnPropNameInRow="ProposalName" msprop:Generator_ColumnPropNameInTable="ProposalNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CreateDate" msprop:Generator_UserColumnName="CreateDate" msprop:Generator_ColumnVarNameInTable="columnCreateDate" msprop:Generator_ColumnPropNameInRow="CreateDate" msprop:Generator_ColumnPropNameInTable="CreateDateColumn" type="xs:dateTime" />
              <xs:element name="LastSendDate" msprop:Generator_UserColumnName="LastSendDate" msprop:Generator_ColumnVarNameInTable="columnLastSendDate" msprop:Generator_ColumnPropNameInRow="LastSendDate" msprop:Generator_ColumnPropNameInTable="LastSendDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ApprovalDate" msprop:Generator_UserColumnName="ApprovalDate" msprop:Generator_ColumnVarNameInTable="columnApprovalDate" msprop:Generator_ColumnPropNameInRow="ApprovalDate" msprop:Generator_ColumnPropNameInTable="ApprovalDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ScopePrice" msprop:Generator_UserColumnName="ScopePrice" msprop:Generator_ColumnVarNameInTable="columnScopePrice" msprop:Generator_ColumnPropNameInRow="ScopePrice" msprop:Generator_ColumnPropNameInTable="ScopePriceColumn" type="xs:decimal" />
              <xs:element name="FixedCostPrice" msprop:Generator_UserColumnName="FixedCostPrice" msprop:Generator_ColumnVarNameInTable="columnFixedCostPrice" msprop:Generator_ColumnPropNameInRow="FixedCostPrice" msprop:Generator_ColumnPropNameInTable="FixedCostPriceColumn" type="xs:decimal" />
              <xs:element name="Discount" msprop:Generator_UserColumnName="Discount" msprop:Generator_ColumnVarNameInTable="columnDiscount" msprop:Generator_ColumnPropNameInRow="Discount" msprop:Generator_ColumnPropNameInTable="DiscountColumn" type="xs:decimal" />
              <xs:element name="SalePrice" msprop:Generator_UserColumnName="SalePrice" msprop:Generator_ColumnVarNameInTable="columnSalePrice" msprop:Generator_ColumnPropNameInRow="SalePrice" msprop:Generator_ColumnPropNameInTable="SalePriceColumn" type="xs:decimal" />
              <xs:element name="UseDiscount" msprop:Generator_UserColumnName="UseDiscount" msprop:Generator_ColumnPropNameInRow="UseDiscount" msprop:Generator_ColumnVarNameInTable="columnUseDiscount" msprop:Generator_ColumnPropNameInTable="UseDiscountColumn" type="xs:boolean" />
              <xs:element name="TemplateName" msprop:Generator_UserColumnName="TemplateName" msprop:Generator_ColumnPropNameInRow="TemplateName" msprop:Generator_ColumnVarNameInTable="columnTemplateName" msprop:Generator_ColumnPropNameInTable="TemplateNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="Details" msprop:Generator_UserColumnName="Details" msprop:Generator_ColumnPropNameInRow="Details" msprop:Generator_ColumnVarNameInTable="columnDetails" msprop:Generator_ColumnPropNameInTable="DetailsColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="RejectReason" msprop:Generator_UserColumnName="RejectReason" msprop:Generator_ColumnVarNameInTable="columnRejectReason" msprop:Generator_ColumnPropNameInRow="RejectReason" msprop:Generator_ColumnPropNameInTable="RejectReasonColumn" type="xs:short" minOccurs="0" />
              <xs:element name="MoneyRate" msprop:Generator_UserColumnName="MoneyRate" msprop:Generator_ColumnVarNameInTable="columnMoneyRate" msprop:Generator_ColumnPropNameInRow="MoneyRate" msprop:Generator_ColumnPropNameInTable="MoneyRateColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="MoneyShortName" msprop:Generator_UserColumnName="MoneyShortName" msprop:Generator_ColumnVarNameInTable="columnMoneyShortName" msprop:Generator_ColumnPropNameInRow="MoneyShortName" msprop:Generator_ColumnPropNameInTable="MoneyShortNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ProposalFixedCostItem" msprop:Generator_UserTableName="ProposalFixedCostItem" msprop:Generator_RowDeletedName="ProposalFixedCostItemRowDeleted" msprop:Generator_RowChangedName="ProposalFixedCostItemRowChanged" msprop:Generator_RowClassName="ProposalFixedCostItemRow" msprop:Generator_RowChangingName="ProposalFixedCostItemRowChanging" msprop:Generator_RowEvArgName="ProposalFixedCostItemRowChangeEvent" msprop:Generator_RowEvHandlerName="ProposalFixedCostItemRowChangeEventHandler" msprop:Generator_TableClassName="ProposalFixedCostItemDataTable" msprop:Generator_TableVarName="tableProposalFixedCostItem" msprop:Generator_RowDeletingName="ProposalFixedCostItemRowDeleting" msprop:Generator_TablePropName="ProposalFixedCostItem" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="FixedPriceItemUId" msprop:Generator_UserColumnName="FixedPriceItemUId" msprop:Generator_ColumnPropNameInRow="FixedPriceItemUId" msprop:Generator_ColumnVarNameInTable="columnFixedPriceItemUId" msprop:Generator_ColumnPropNameInTable="FixedPriceItemUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ProposalUId" msprop:Generator_UserColumnName="ProposalUId" msprop:Generator_ColumnPropNameInRow="ProposalUId" msprop:Generator_ColumnVarNameInTable="columnProposalUId" msprop:Generator_ColumnPropNameInTable="ProposalUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ItemName" msprop:Generator_UserColumnName="ItemName" msprop:Generator_ColumnPropNameInRow="ItemName" msprop:Generator_ColumnVarNameInTable="columnItemName" msprop:Generator_ColumnPropNameInTable="ItemNameColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="150" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ItemValue" msprop:Generator_UserColumnName="ItemValue" msprop:Generator_ColumnPropNameInRow="ItemValue" msprop:Generator_ColumnVarNameInTable="columnItemValue" msprop:Generator_ColumnPropNameInTable="ItemValueColumn" type="xs:decimal" />
                    <xs:element name="Payable" msprop:Generator_UserColumnName="Payable" msprop:Generator_ColumnPropNameInRow="Payable" msprop:Generator_ColumnVarNameInTable="columnPayable" msprop:Generator_ColumnPropNameInTable="PayableColumn" type="xs:boolean" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="ProposalObservation" msprop:Generator_UserTableName="ProposalObservation" msprop:Generator_RowDeletedName="ProposalObservationRowDeleted" msprop:Generator_RowChangedName="ProposalObservationRowChanged" msprop:Generator_RowClassName="ProposalObservationRow" msprop:Generator_RowChangingName="ProposalObservationRowChanging" msprop:Generator_RowEvArgName="ProposalObservationRowChangeEvent" msprop:Generator_RowEvHandlerName="ProposalObservationRowChangeEventHandler" msprop:Generator_TableClassName="ProposalObservationDataTable" msprop:Generator_TableVarName="tableProposalObservation" msprop:Generator_RowDeletingName="ProposalObservationRowDeleting" msprop:Generator_TablePropName="ProposalObservation" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="ProposalUId" msprop:Generator_UserColumnName="ProposalUId" msprop:Generator_ColumnPropNameInRow="ProposalUId" msprop:Generator_ColumnVarNameInTable="columnProposalUId" msprop:Generator_ColumnPropNameInTable="ProposalUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ObservationName" msprop:Generator_UserColumnName="ObservationName" msprop:Generator_ColumnPropNameInRow="ObservationName" msprop:Generator_ColumnVarNameInTable="columnObservationName" msprop:Generator_ColumnPropNameInTable="ObservationNameColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="150" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ObservationText" msprop:Generator_UserColumnName="ObservationText" msprop:Generator_ColumnPropNameInRow="ObservationText" msprop:Generator_ColumnVarNameInTable="columnObservationText" msprop:Generator_ColumnPropNameInTable="ObservationTextColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="500" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ProposalObservationUId" msprop:Generator_UserColumnName="ProposalObservationUId" msprop:Generator_ColumnPropNameInRow="ProposalObservationUId" msprop:Generator_ColumnVarNameInTable="columnProposalObservationUId" msprop:Generator_ColumnPropNameInTable="ProposalObservationUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="Order" msprop:Generator_UserColumnName="Order" msprop:Generator_ColumnPropNameInRow="Order" msprop:Generator_ColumnVarNameInTable="columnOrder" msprop:Generator_ColumnPropNameInTable="OrderColumn" type="xs:short" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="ProjectPayment" msprop:Generator_UserTableName="ProjectPayment" msprop:Generator_RowDeletedName="ProjectPaymentRowDeleted" msprop:Generator_RowChangedName="ProjectPaymentRowChanged" msprop:Generator_RowClassName="ProjectPaymentRow" msprop:Generator_RowChangingName="ProjectPaymentRowChanging" msprop:Generator_RowEvArgName="ProjectPaymentRowChangeEvent" msprop:Generator_RowEvHandlerName="ProjectPaymentRowChangeEventHandler" msprop:Generator_TableClassName="ProjectPaymentDataTable" msprop:Generator_TableVarName="tableProjectPayment" msprop:Generator_RowDeletingName="ProjectPaymentRowDeleting" msprop:Generator_TablePropName="ProjectPayment" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="PaymentUId" msprop:Generator_UserColumnName="PaymentUId" msprop:Generator_ColumnVarNameInTable="columnPaymentUId" msprop:Generator_ColumnPropNameInRow="PaymentUId" msprop:Generator_ColumnPropNameInTable="PaymentUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ProposalUId" msprop:Generator_UserColumnName="ProposalUId" msprop:Generator_ColumnVarNameInTable="columnProposalUId" msprop:Generator_ColumnPropNameInRow="ProposalUId" msprop:Generator_ColumnPropNameInTable="ProposalUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="Value" msprop:Generator_UserColumnName="Value" msprop:Generator_ColumnVarNameInTable="columnValue" msprop:Generator_ColumnPropNameInRow="Value" msprop:Generator_ColumnPropNameInTable="ValueColumn" type="xs:decimal" />
                    <xs:element name="InVoiceDate" msprop:Generator_UserColumnName="InVoiceDate" msprop:Generator_ColumnVarNameInTable="columnInVoiceDate" msprop:Generator_ColumnPropNameInRow="InVoiceDate" msprop:Generator_ColumnPropNameInTable="InVoiceDateColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="PlannedPayDate" msprop:Generator_UserColumnName="PlannedPayDate" msprop:Generator_ColumnVarNameInTable="columnPlannedPayDate" msprop:Generator_ColumnPropNameInRow="PlannedPayDate" msprop:Generator_ColumnPropNameInTable="PlannedPayDateColumn" type="xs:dateTime" />
                    <xs:element name="PayedDate" msprop:Generator_UserColumnName="PayedDate" msprop:Generator_ColumnVarNameInTable="columnPayedDate" msprop:Generator_ColumnPropNameInRow="PayedDate" msprop:Generator_ColumnPropNameInTable="PayedDateColumn" type="xs:dateTime" minOccurs="0" />
                    <xs:element name="PayedValue" msprop:Generator_UserColumnName="PayedValue" msprop:Generator_ColumnVarNameInTable="columnPayedValue" msprop:Generator_ColumnPropNameInRow="PayedValue" msprop:Generator_ColumnPropNameInTable="PayedValueColumn" type="xs:decimal" minOccurs="0" />
                    <xs:element name="InvoiceNumber" msprop:Generator_UserColumnName="InvoiceNumber" msprop:Generator_ColumnPropNameInRow="InvoiceNumber" msprop:Generator_ColumnVarNameInTable="columnInvoiceNumber" msprop:Generator_ColumnPropNameInTable="InvoiceNumberColumn" minOccurs="0">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="50" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="ProposalItem" msprop:Generator_UserTableName="ProposalItem" msprop:Generator_RowDeletedName="ProposalItemRowDeleted" msprop:Generator_RowChangedName="ProposalItemRowChanged" msprop:Generator_RowClassName="ProposalItemRow" msprop:Generator_RowChangingName="ProposalItemRowChanging" msprop:Generator_RowEvArgName="ProposalItemRowChangeEvent" msprop:Generator_RowEvHandlerName="ProposalItemRowChangeEventHandler" msprop:Generator_TableClassName="ProposalItemDataTable" msprop:Generator_TableVarName="tableProposalItem" msprop:Generator_RowDeletingName="ProposalItemRowDeleting" msprop:Generator_TablePropName="ProposalItem" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="ProposalUId" msprop:Generator_UserColumnName="ProposalUId" msprop:Generator_ColumnPropNameInRow="ProposalUId" msprop:Generator_ColumnVarNameInTable="columnProposalUId" msprop:Generator_ColumnPropNameInTable="ProposalUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="BacklogItemUId" msprop:Generator_UserColumnName="BacklogItemUId" msprop:Generator_ColumnPropNameInRow="BacklogItemUId" msprop:Generator_ColumnVarNameInTable="columnBacklogItemUId" msprop:Generator_ColumnPropNameInTable="BacklogItemUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="SprintUId" msprop:Generator_UserColumnName="SprintUId" msprop:Generator_ColumnPropNameInRow="SprintUId" msprop:Generator_ColumnVarNameInTable="columnSprintUId" msprop:Generator_ColumnPropNameInTable="SprintUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="BaseLine" msprop:Generator_UserColumnName="BaseLine" msprop:Generator_ColumnPropNameInRow="BaseLine" msprop:Generator_ColumnVarNameInTable="columnBaseLine" msprop:Generator_ColumnPropNameInTable="BaseLineColumn" type="xs:int" />
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
              <xs:element name="ProposalApproved" msprop:Generator_UserTableName="ProposalApproved" msprop:Generator_RowDeletedName="ProposalApprovedRowDeleted" msprop:Generator_RowChangedName="ProposalApprovedRowChanged" msprop:Generator_RowClassName="ProposalApprovedRow" msprop:Generator_RowChangingName="ProposalApprovedRowChanging" msprop:Generator_RowEvArgName="ProposalApprovedRowChangeEvent" msprop:Generator_RowEvHandlerName="ProposalApprovedRowChangeEventHandler" msprop:Generator_TableClassName="ProposalApprovedDataTable" msprop:Generator_TableVarName="tableProposalApproved" msprop:Generator_RowDeletingName="ProposalApprovedRowDeleting" msprop:Generator_TablePropName="ProposalApproved" minOccurs="0" maxOccurs="unbounded">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="ProposalUId" msprop:Generator_UserColumnName="ProposalUId" msprop:Generator_ColumnPropNameInRow="ProposalUId" msprop:Generator_ColumnVarNameInTable="columnProposalUId" msprop:Generator_ColumnPropNameInTable="ProposalUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="38" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                    <xs:element name="ProposalXAML" msprop:Generator_UserColumnName="ProposalXAML" msprop:Generator_ColumnPropNameInRow="ProposalXAML" msprop:Generator_ColumnVarNameInTable="columnProposalXAML" msprop:Generator_ColumnPropNameInTable="ProposalXAMLColumn">
                      <xs:simpleType>
                        <xs:restriction base="xs:string">
                          <xs:maxLength value="2147483647" />
                        </xs:restriction>
                      </xs:simpleType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SprintCodeVersion" msprop:Generator_UserTableName="SprintCodeVersion" msprop:Generator_RowDeletedName="SprintCodeVersionRowDeleted" msprop:Generator_RowChangedName="SprintCodeVersionRowChanged" msprop:Generator_RowClassName="SprintCodeVersionRow" msprop:Generator_RowChangingName="SprintCodeVersionRowChanging" msprop:Generator_RowEvArgName="SprintCodeVersionRowChangeEvent" msprop:Generator_RowEvHandlerName="SprintCodeVersionRowChangeEventHandler" msprop:Generator_TableClassName="SprintCodeVersionDataTable" msprop:Generator_TableVarName="tableSprintCodeVersion" msprop:Generator_RowDeletingName="SprintCodeVersionRowDeleting" msprop:Generator_TablePropName="SprintCodeVersion">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProjectUId" msprop:Generator_UserColumnName="ProjectUId" msprop:Generator_ColumnVarNameInTable="columnProjectUId" msprop:Generator_ColumnPropNameInRow="ProjectUId" msprop:Generator_ColumnPropNameInTable="ProjectUIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="38" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SprintUId" msprop:Generator_UserColumnName="SprintUId" msprop:Generator_ColumnVarNameInTable="columnSprintUId" msprop:Generator_ColumnPropNameInRow="SprintUId" msprop:Generator_ColumnPropNameInTable="SprintUIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="38" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SprintNumber" msprop:Generator_UserColumnName="SprintNumber" msprop:Generator_ColumnVarNameInTable="columnSprintNumber" msprop:Generator_ColumnPropNameInRow="SprintNumber" msprop:Generator_ColumnPropNameInTable="SprintNumberColumn" type="xs:short" />
              <xs:element name="CodeVersion" msprop:Generator_UserColumnName="CodeVersion" msprop:Generator_ColumnVarNameInTable="columnCodeVersion" msprop:Generator_ColumnPropNameInRow="CodeVersion" msprop:Generator_ColumnPropNameInTable="CodeVersionColumn" type="xs:int" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProjectPlataform" msprop:Generator_UserTableName="ProjectPlataform" msprop:Generator_RowDeletedName="ProjectPlataformRowDeleted" msprop:Generator_RowChangedName="ProjectPlataformRowChanged" msprop:Generator_RowClassName="ProjectPlataformRow" msprop:Generator_RowChangingName="ProjectPlataformRowChanging" msprop:Generator_RowEvArgName="ProjectPlataformRowChangeEvent" msprop:Generator_RowEvHandlerName="ProjectPlataformRowChangeEventHandler" msprop:Generator_TableClassName="ProjectPlataformDataTable" msprop:Generator_TableVarName="tableProjectPlataform" msprop:Generator_RowDeletingName="ProjectPlataformRowDeleting" msprop:Generator_TablePropName="ProjectPlataform">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Plataform" msprop:Generator_UserColumnName="Plataform" msprop:Generator_ColumnVarNameInTable="columnPlataform" msprop:Generator_ColumnPropNameInRow="Plataform" msprop:Generator_ColumnPropNameInTable="PlataformColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProjectModel" msprop:Generator_UserTableName="ProjectModel" msprop:Generator_RowDeletedName="ProjectModelRowDeleted" msprop:Generator_RowChangedName="ProjectModelRowChanged" msprop:Generator_RowClassName="ProjectModelRow" msprop:Generator_RowChangingName="ProjectModelRowChanging" msprop:Generator_RowEvArgName="ProjectModelRowChangeEvent" msprop:Generator_RowEvHandlerName="ProjectModelRowChangeEventHandler" msprop:Generator_TableClassName="ProjectModelDataTable" msprop:Generator_TableVarName="tableProjectModel" msprop:Generator_RowDeletingName="ProjectModelRowDeleting" msprop:Generator_TablePropName="ProjectModel">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="Model" msprop:Generator_UserColumnName="Model" msprop:Generator_ColumnVarNameInTable="columnModel" msprop:Generator_ColumnPropNameInRow="Model" msprop:Generator_ColumnPropNameInTable="ModelColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SizeType" msprop:Generator_UserTableName="SizeType" msprop:Generator_RowDeletedName="SizeTypeRowDeleted" msprop:Generator_RowChangedName="SizeTypeRowChanged" msprop:Generator_RowClassName="SizeTypeRow" msprop:Generator_RowChangingName="SizeTypeRowChanging" msprop:Generator_RowEvArgName="SizeTypeRowChangeEvent" msprop:Generator_RowEvHandlerName="SizeTypeRowChangeEventHandler" msprop:Generator_TableClassName="SizeTypeDataTable" msprop:Generator_TableVarName="tableSizeType" msprop:Generator_RowDeletingName="SizeTypeRowDeleting" msprop:Generator_TablePropName="SizeType">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SizeValue" msprop:Generator_UserColumnName="SizeValue" msprop:Generator_ColumnPropNameInRow="SizeValue" msprop:Generator_ColumnVarNameInTable="columnSizeValue" msprop:Generator_ColumnPropNameInTable="SizeValueColumn" type="xs:int" default="0" />
              <xs:element name="OrganizationArea" msprop:Generator_UserColumnName="OrganizationArea" msprop:Generator_ColumnPropNameInRow="OrganizationArea" msprop:Generator_ColumnVarNameInTable="columnOrganizationArea" msprop:Generator_ColumnPropNameInTable="OrganizationAreaColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Description" msprop:Generator_UserColumnName="Description" msprop:Generator_ColumnPropNameInRow="Description" msprop:Generator_ColumnVarNameInTable="columnDescription" msprop:Generator_ColumnPropNameInTable="DescriptionColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SizeItemType" msprop:Generator_UserColumnName="SizeItemType" msprop:Generator_ColumnPropNameInRow="SizeItemType" msprop:Generator_ColumnVarNameInTable="columnSizeItemType" msprop:Generator_ColumnPropNameInTable="SizeItemTypeColumn" type="xs:short" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="255" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Risk_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Risk" />
      <xs:field xpath="mstns:RiskUId" />
    </xs:unique>
    <xs:unique name="Sprint_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Sprint" />
      <xs:field xpath="mstns:SprintUId" />
    </xs:unique>
    <xs:unique name="BacklogItemHours_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BacklogItemHours" />
      <xs:field xpath="mstns:BacklogItemHoursUId" />
    </xs:unique>
    <xs:unique name="BacklogItem_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BacklogItem" />
      <xs:field xpath="mstns:BacklogItemUId" />
    </xs:unique>
    <xs:unique name="BacklogItemUnit_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BacklogItemUnit" />
      <xs:field xpath="mstns:UnitName" />
      <xs:field xpath="mstns:ProjectUId" />
    </xs:unique>
    <xs:unique name="ProjectRole_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProjectRole" />
      <xs:field xpath="mstns:ProjectRoleUId" />
    </xs:unique>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Project" />
      <xs:field xpath="mstns:ProjectUId" />
    </xs:unique>
    <xs:unique name="ProposalFixedCostItem_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProposalFixedCostItem" />
      <xs:field xpath="mstns:FixedPriceItemUId" />
    </xs:unique>
    <xs:unique name="ProposalObservation_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProposalObservation" />
      <xs:field xpath="mstns:ProposalObservationUId" />
    </xs:unique>
    <xs:unique name="ProjectPayment_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProjectPayment" />
      <xs:field xpath="mstns:PaymentUId" />
    </xs:unique>
    <xs:unique name="ProposalItem_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProposalItem" />
      <xs:field xpath="mstns:ProposalUId" />
      <xs:field xpath="mstns:BacklogItemUId" />
      <xs:field xpath="mstns:SprintUId" />
      <xs:field xpath="mstns:BaseLine" />
    </xs:unique>
    <xs:unique name="ProposalApproved_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProposalApproved" />
      <xs:field xpath="mstns:ProposalUId" />
    </xs:unique>
    <xs:unique name="Proposal_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Proposal" />
      <xs:field xpath="mstns:ProposalUId" />
    </xs:unique>
    <xs:unique name="SprintCodeVersion_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SprintCodeVersion" />
      <xs:field xpath="mstns:SprintUId" />
    </xs:unique>
    <xs:unique name="ProjectPlataform_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProjectPlataform" />
      <xs:field xpath="mstns:Plataform" />
    </xs:unique>
    <xs:unique name="ProjectModel_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProjectModel" />
      <xs:field xpath="mstns:Model" />
    </xs:unique>
    <xs:unique name="SizeType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SizeType" />
      <xs:field xpath="mstns:SizeItemType" />
    </xs:unique>
    <xs:keyref name="FK_Proposal_ProposalApproved" refer="Proposal_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_Proposal_ProposalApproved" msprop:rel_Generator_RelationVarName="relationFK_Proposal_ProposalApproved" msprop:rel_Generator_UserChildTable="ProposalApproved" msprop:rel_Generator_UserParentTable="Proposal" msprop:rel_Generator_ParentPropName="ProposalRow" msprop:rel_Generator_ChildPropName="GetProposalApprovedRows">
      <xs:selector xpath=".//mstns:ProposalApproved" />
      <xs:field xpath="mstns:ProposalUId" />
    </xs:keyref>
    <xs:keyref name="BacklogItem_ProposalItem" refer="BacklogItem_Constraint1" msprop:rel_Generator_UserRelationName="BacklogItem_ProposalItem" msprop:rel_Generator_RelationVarName="relationBacklogItem_ProposalItem" msprop:rel_Generator_UserChildTable="ProposalItem" msprop:rel_Generator_UserParentTable="BacklogItem" msprop:rel_Generator_ParentPropName="BacklogItemRow" msprop:rel_Generator_ChildPropName="GetProposalItemRows" msdata:UpdateRule="None" msdata:DeleteRule="None">
      <xs:selector xpath=".//mstns:ProposalItem" />
      <xs:field xpath="mstns:BacklogItemUId" />
    </xs:keyref>
    <xs:keyref name="FK_Proposal_ProposalItem" refer="Proposal_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_Proposal_ProposalItem" msprop:rel_Generator_RelationVarName="relationFK_Proposal_ProposalItem" msprop:rel_Generator_UserChildTable="ProposalItem" msprop:rel_Generator_UserParentTable="Proposal" msprop:rel_Generator_ParentPropName="ProposalRow" msprop:rel_Generator_ChildPropName="GetProposalItemRows">
      <xs:selector xpath=".//mstns:ProposalItem" />
      <xs:field xpath="mstns:ProposalUId" />
    </xs:keyref>
    <xs:keyref name="FK_ProjectlPayment_Proposal" refer="Proposal_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_ProjectlPayment_Proposal" msprop:rel_Generator_RelationVarName="relationFK_ProjectlPayment_Proposal" msprop:rel_Generator_UserChildTable="ProjectPayment" msprop:rel_Generator_UserParentTable="Proposal" msprop:rel_Generator_ParentPropName="ProposalRow" msprop:rel_Generator_ChildPropName="GetProjectPaymentRows">
      <xs:selector xpath=".//mstns:ProjectPayment" />
      <xs:field xpath="mstns:ProposalUId" />
    </xs:keyref>
    <xs:keyref name="FK_ProposalObservation_Proposal" refer="Proposal_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_ProposalObservation_Proposal" msprop:rel_Generator_RelationVarName="relationFK_ProposalObservation_Proposal" msprop:rel_Generator_UserChildTable="ProposalObservation" msprop:rel_Generator_UserParentTable="Proposal" msprop:rel_Generator_ParentPropName="ProposalRow" msprop:rel_Generator_ChildPropName="GetProposalObservationRows">
      <xs:selector xpath=".//mstns:ProposalObservation" />
      <xs:field xpath="mstns:ProposalUId" />
    </xs:keyref>
    <xs:keyref name="FK_ProposalFixedPriceItem_Proposal" refer="Proposal_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_ProposalFixedPriceItem_Proposal" msprop:rel_Generator_RelationVarName="relationFK_ProposalFixedPriceItem_Proposal" msprop:rel_Generator_UserChildTable="ProposalFixedCostItem" msprop:rel_Generator_UserParentTable="Proposal" msprop:rel_Generator_ParentPropName="ProposalRow" msprop:rel_Generator_ChildPropName="GetProposalFixedCostItemRows">
      <xs:selector xpath=".//mstns:ProposalFixedCostItem" />
      <xs:field xpath="mstns:ProposalUId" />
    </xs:keyref>
    <xs:keyref name="BacklogItemUnit_ProjectRole" refer="BacklogItemUnit_Constraint1" msprop:rel_Generator_UserRelationName="BacklogItemUnit_ProjectRole" msprop:rel_Generator_RelationVarName="relationBacklogItemUnit_ProjectRole" msprop:rel_Generator_UserChildTable="ProjectRole" msprop:rel_Generator_UserParentTable="BacklogItemUnit" msprop:rel_Generator_ParentPropName="BacklogItemUnitRowParent" msprop:rel_Generator_ChildPropName="GetProjectRoleRows" msdata:UpdateRule="None" msdata:DeleteRule="None">
      <xs:selector xpath=".//mstns:ProjectRole" />
      <xs:field xpath="mstns:UnitName" />
      <xs:field xpath="mstns:ProjectUId" />
    </xs:keyref>
    <xs:keyref name="FK_Project_ProjectRole" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_Project_ProjectRole" msprop:rel_Generator_RelationVarName="relationFK_Project_ProjectRole" msprop:rel_Generator_UserChildTable="ProjectRole" msprop:rel_Generator_UserParentTable="Project" msprop:rel_Generator_ParentPropName="ProjectRow" msprop:rel_Generator_ChildPropName="GetProjectRoleRows">
      <xs:selector xpath=".//mstns:ProjectRole" />
      <xs:field xpath="mstns:ProjectUId" />
    </xs:keyref>
    <xs:keyref name="FK_Project_BacklogItemUnit" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_Project_BacklogItemUnit" msprop:rel_Generator_RelationVarName="relationFK_Project_BacklogItemUnit" msprop:rel_Generator_UserChildTable="BacklogItemUnit" msprop:rel_Generator_UserParentTable="Project" msprop:rel_Generator_ParentPropName="ProjectRow" msprop:rel_Generator_ChildPropName="GetBacklogItemUnitRows">
      <xs:selector xpath=".//mstns:BacklogItemUnit" />
      <xs:field xpath="mstns:ProjectUId" />
    </xs:keyref>
    <xs:keyref name="Project_BacklogItem" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="Project_BacklogItem" msprop:rel_Generator_RelationVarName="relationProject_BacklogItem" msprop:rel_Generator_UserChildTable="BacklogItem" msprop:rel_Generator_UserParentTable="Project" msprop:rel_Generator_ParentPropName="ProjectRow" msprop:rel_Generator_ChildPropName="GetBacklogItemRows">
      <xs:selector xpath=".//mstns:BacklogItem" />
      <xs:field xpath="mstns:ProjectUId" />
    </xs:keyref>
    <xs:keyref name="FK_BacklogItemHours_BacklogItemUnit" refer="BacklogItemUnit_Constraint1" msprop:rel_Generator_UserRelationName="FK_BacklogItemHours_BacklogItemUnit" msprop:rel_Generator_RelationVarName="relationFK_BacklogItemHours_BacklogItemUnit" msprop:rel_Generator_UserChildTable="BacklogItemHours" msprop:rel_Generator_UserParentTable="BacklogItemUnit" msprop:rel_Generator_ParentPropName="BacklogItemUnitRowParent" msprop:rel_Generator_ChildPropName="GetBacklogItemHoursRows" msdata:UpdateRule="None" msdata:DeleteRule="None">
      <xs:selector xpath=".//mstns:BacklogItemHours" />
      <xs:field xpath="mstns:UnitName" />
      <xs:field xpath="mstns:ProjectUId" />
    </xs:keyref>
    <xs:keyref name="FK_BacklogItemHours_BacklogItem" refer="BacklogItem_Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="FK_BacklogItemHours_BacklogItem" msprop:rel_Generator_RelationVarName="relationFK_BacklogItemHours_BacklogItem" msprop:rel_Generator_UserChildTable="BacklogItemHours" msprop:rel_Generator_UserParentTable="BacklogItem" msprop:rel_Generator_ParentPropName="BacklogItemRow" msprop:rel_Generator_ChildPropName="GetBacklogItemHoursRows">
      <xs:selector xpath=".//mstns:BacklogItemHours" />
      <xs:field xpath="mstns:BacklogItemUId" />
    </xs:keyref>
    <xs:keyref name="Project_Sprint" refer="Constraint1" msdata:IsNested="true" msprop:rel_Generator_UserRelationName="Project_Sprint" msprop:rel_Generator_RelationVarName="relationProject_Sprint" msprop:rel_Generator_UserChildTable="Sprint" msprop:rel_Generator_UserParentTable="Project" msprop:rel_Generator_ParentPropName="ProjectRow" msprop:rel_Generator_ChildPropName="GetSprintRows">
      <xs:selector xpath=".//mstns:Sprint" />
      <xs:field xpath="mstns:ProjectUId" />
    </xs:keyref>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_ProjectlPayment_Project" msdata:parent="Project" msdata:child="ProjectPayment" msdata:parentkey="ProjectUId" msdata:childkey="ProjectUId" msprop:Generator_UserRelationName="FK_ProjectlPayment_Project" msprop:Generator_RelationVarName="relationFK_ProjectlPayment_Project" msprop:Generator_UserChildTable="ProjectPayment" msprop:Generator_UserParentTable="Project" msprop:Generator_ParentPropName="ProjectRow" msprop:Generator_ChildPropName="GetProjectPaymentRows" />
      <msdata:Relationship name="FK_BacklogItemHours_Sprint" msdata:parent="Sprint" msdata:child="BacklogItemHours" msdata:parentkey="SprintUId" msdata:childkey="SprintUId" msprop:Generator_UserRelationName="FK_BacklogItemHours_Sprint" msprop:Generator_RelationVarName="relationFK_BacklogItemHours_Sprint" msprop:Generator_UserChildTable="BacklogItemHours" msprop:Generator_UserParentTable="Sprint" msprop:Generator_ParentPropName="SprintRow" msprop:Generator_ChildPropName="GetBacklogItemHoursRows" />
      <msdata:Relationship name="FK_Proposal_Project" msdata:parent="Project" msdata:child="Proposal" msdata:parentkey="ProjectUId" msdata:childkey="ProjectUId" msprop:Generator_UserRelationName="FK_Proposal_Project" msprop:Generator_RelationVarName="relationFK_Proposal_Project" msprop:Generator_UserChildTable="Proposal" msprop:Generator_UserParentTable="Project" msprop:Generator_ParentPropName="ProjectRow" msprop:Generator_ChildPropName="GetProposalRows" />
      <msdata:Relationship name="Sprint_ProposalItem" msdata:parent="Sprint" msdata:child="ProposalItem" msdata:parentkey="SprintUId" msdata:childkey="SprintUId" msprop:Generator_UserRelationName="Sprint_ProposalItem" msprop:Generator_RelationVarName="relationSprint_ProposalItem" msprop:Generator_UserChildTable="ProposalItem" msprop:Generator_UserParentTable="Sprint" msprop:Generator_ParentPropName="SprintRow" msprop:Generator_ChildPropName="GetProposalItemRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>